diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 48ca582c88..452af5b407 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2010-12-23 Miguel de Dios + + * include/ajax/reporting.ajax.php: fixed copy&paste mistake. + 2010-12-23 Miguel de Dios * include/functions.php: in function "string2image" fixed when the string diff --git a/pandora_console/include/ajax/reporting.ajax.php b/pandora_console/include/ajax/reporting.ajax.php index 87234546dc..8a8319779f 100644 --- a/pandora_console/include/ajax/reporting.ajax.php +++ b/pandora_console/include/ajax/reporting.ajax.php @@ -71,7 +71,7 @@ if ($add_sla) { if ($get_custom_sql) { $sql = get_db_value_filter('`sql`', 'treport_custom_sql', array('id' => $id)); - if ($result === false) { + if ($sql === false) { $data['correct'] = 0; } else {