mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
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…
x
Reference in New Issue
Block a user