mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:35:55 +00:00
OPML: multiple fixes
- remove unused integer indexes when exporting filters as JSON - fix warning when importing filters without rules - properly assign category IDs for category filter rules - fix warning: check if outline attributes like xmlUrl are set before trying to use them - fix warning: don't try to use libxml_disable_entity_loader on PHP 8
This commit is contained in:
@@ -8,7 +8,7 @@ function format_backtrace($trace) {
|
||||
if (isset($e["file"]) && isset($e["line"])) {
|
||||
$fmt_args = [];
|
||||
|
||||
if (is_array($e["args"])) {
|
||||
if (is_array($e["args"] ?? false)) {
|
||||
foreach ($e["args"] as $a) {
|
||||
if (is_object($a)) {
|
||||
array_push($fmt_args, "{" . get_class($a) . "}");
|
||||
|
||||
Reference in New Issue
Block a user