2010-11-04 Ramon Novoa <rnovoa@artica.es>

* include/functions_ui.php: Check that the alert has a 'standby' column
	  (compound alerts don't have it).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-11-04 18:31:37 +00:00
parent aeeb4da5ae
commit 97ef472bee
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-11-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_ui.php: Check that the alert has a 'standby' column
(compound alerts don't have it).
2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_purge.php: fixed old value "1" for "All" groups.

View File

@ -447,7 +447,7 @@ function format_alert_row ($alert, $compound = false, $agent = true, $url = '')
// Standby
$data[$index['standby']] = '';
if ($alert["standby"] == 1) {
if (isset ($alert["standby"]) && $alert["standby"] == 1) {
$data[$index['standby']] = print_image ('images/bell_pause.png', true, array('title' => __('Standby on')));
}