summaryrefslogtreecommitdiffstats
path: root/templates/show_objects.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_objects.inc.php')
-rw-r--r--templates/show_objects.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/show_objects.inc.php b/templates/show_objects.inc.php
index cd1445a7..12629919 100644
--- a/templates/show_objects.inc.php
+++ b/templates/show_objects.inc.php
@@ -37,4 +37,11 @@
<?php require Config::get('prefix') . '/templates/show_object_row.inc.php'; ?>
</tr>
<?php } ?>
+<?php if (!count($objects)) { ?>
+<tr>
+ <td colspan="<?php echo count($headers); ?>">
+ <span class="error"><?php echo _('Not Enough Data'); ?></span>
+ </td>
+</tr>
+<?php } ?>
</table>