Skip to content

Commit

Permalink
Support new return struct from GetServiceStatus command call in notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
sonertari committed Feb 11, 2021
1 parent 3480b6b commit 7da5fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifier/notify.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function FilterPreviousLogs()

if (count(json_decode($NotifierUsers, TRUE)) > 0) {
if ($View->Controller($Output, 'GetServiceStatus')) {
$ServiceStatus= json_decode($Output[0], TRUE);
$ServiceStatus= json_decode($Output[0], TRUE)['status'];

FilterLogLevels();
FilterKeywords();
Expand Down

0 comments on commit 7da5fac

Please sign in to comment.