diff options
author | Andrew Dolgov <[email protected]> | 2021-03-07 09:02:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-07 09:02:24 +0300 |
commit | 17650775d2e513745d5bb65129c3e24c1a880fab (patch) | |
tree | 80d5798324cd95271c127c6709d56d4c17fafc0f /include/errorhandler.php | |
parent | 5bb871483999235acbe80849608c5cb98d0fd45c (diff) |
hide event log accordion pane if LOG_DESTINATION is not sql
Diffstat (limited to 'include/errorhandler.php')
-rw-r--r-- | include/errorhandler.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/errorhandler.php b/include/errorhandler.php index 1908bd39c..2ad0be062 100644 --- a/include/errorhandler.php +++ b/include/errorhandler.php @@ -55,6 +55,8 @@ function ttrss_error_handler($errno, $errstr, $file, $line) { if (class_exists("Logger")) return Logger::log_error((int)$errno, $errstr, $file, (int)$line, $context); + else + return false; } function ttrss_fatal_handler() { |