Skip to content

Commit

Permalink
Switch from warning to Notice
Browse files Browse the repository at this point in the history
Waring causes POD exception
  • Loading branch information
dugite-code committed Sep 12, 2018
1 parent c37629f commit 7593a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<h2>LOG:</h2><pre>".htmlentities($msg)."</pre>");
}else{
array_push($this->testlog, "<h2>$msg</h2>");
Expand Down

0 comments on commit 7593a91

Please sign in to comment.