From 17650775d2e513745d5bb65129c3e24c1a880fab Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Mar 2021 09:02:24 +0300 Subject: hide event log accordion pane if LOG_DESTINATION is not sql --- include/errorhandler.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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() { -- cgit v1.2.3