summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-07 09:02:24 +0300
committerAndrew Dolgov <[email protected]>2021-03-07 09:02:24 +0300
commit17650775d2e513745d5bb65129c3e24c1a880fab (patch)
tree80d5798324cd95271c127c6709d56d4c17fafc0f /include
parent5bb871483999235acbe80849608c5cb98d0fd45c (diff)
hide event log accordion pane if LOG_DESTINATION is not sql
Diffstat (limited to 'include')
-rw-r--r--include/errorhandler.php2
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() {