2011-07-21 Sergio Martin <sergio.martin@artica.es>

* operation/incidents/incident.list.php: fixed table
	displayed instead of a message for bug 3372155



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-07-21 13:51:36 +00:00
parent e10a7bf414
commit 2635973fbb
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-07-21 Sergio Martin <sergio.martin@artica.es>
* operation/incidents/incident.list.php: fixed table
displayed instead of a message for bug 3372155
2011-07-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_users.php

View File

@ -135,5 +135,10 @@ foreach ($incidents as $row) {
array_push ($table->data, $data);
}
html_print_table ($table);
if(isset($data)) {
html_print_table ($table);
}
else {
echo "<div class='nf'>".__('There are no defined incidents')."</div>";
}
?>