mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 12:01:30 +00:00
* sql_bool_to_bool: make parameter nullable
* errorhandler: don't try to truncate null strings * UrlHelper::rewrite_relative: fix undefined offset warnings for URLs that lack schema/host (data: etc)
This commit is contained in:
@@ -19,7 +19,7 @@ function format_backtrace($trace): string {
|
||||
array_push($fmt_args, "[" . truncate_string(json_encode($a), 256, "...")) . "]";
|
||||
} else if (is_resource($a)) {
|
||||
array_push($fmt_args, truncate_string(get_resource_type($a), 256, "..."));
|
||||
} else {
|
||||
} else if ($a) {
|
||||
array_push($fmt_args, truncate_string($a, 256, "..."));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user