monitoring: Fix fetch function in the BackendAvailabilityMenuItemRenderer

fixes #9942
This commit is contained in:
Eric Lippmann 2015-08-18 13:09:34 +02:00
parent 00e206096d
commit e904c26445
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }