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:
parent
e10a7bf414
commit
2635973fbb
|
@ -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
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue