From 7593a918590cc5a6a33a66371d31b7c60da5b074 Mon Sep 17 00:00:00 2001 From: dugite-code Date: Tue, 11 Sep 2018 14:18:47 +0800 Subject: [PATCH] Switch from warning to Notice Waring causes POD exception --- Logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logger.php b/Logger.php index d02e3a6..c80b24e 100644 --- a/Logger.php +++ b/Logger.php @@ -30,7 +30,7 @@ public function log($level, $msg, $details=''){ if($level > $this->loglevel) return; if($level == self::LOG_TTRSS){ - trigger_error($msg, E_USER_WARNING); + trigger_error($msg, E_USER_NOTICE); array_push($this->testlog, "

LOG:

".htmlentities($msg)."
"); }else{ array_push($this->testlog, "

$msg

");