monitoring: Fix fetch function in the BackendAvailabilityMenuItemRenderer
fixes #9942
This commit is contained in:
parent
00e206096d
commit
e904c26445
|
@ -22,7 +22,7 @@ class BackendAvailabilityMenuItemRenderer extends MenuItemRenderer
|
||||||
'programstatus',
|
'programstatus',
|
||||||
array('is_currently_running')
|
array('is_currently_running')
|
||||||
)
|
)
|
||||||
->fetchRow();
|
->fetchOne();
|
||||||
return $programStatus !== false ? (bool) $programStatus : false;
|
return $programStatus !== false ? (bool) $programStatus : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue