Skip to content

Commit

Permalink
Silence a mistake noisy in php.log
Browse files Browse the repository at this point in the history
  • Loading branch information
sonertari committed Jun 1, 2021
1 parent b83eaaa commit c9d1963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2902,7 +2902,7 @@ function getStatusLogs($file, $count, $re= '', $needle= '')

function isPrio($log, $prio)
{
return strtoupper($log['Prio']) == $prio;
return array_key_exists('Prio', $log) && strtoupper($log['Prio']) == $prio;
}

function GetStatus()
Expand Down

0 comments on commit c9d1963

Please sign in to comment.