diff options
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r-- | templates/show_albums.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php index 3c7b316e..7c1bab45 100644 --- a/templates/show_albums.inc.php +++ b/templates/show_albums.inc.php @@ -55,6 +55,11 @@ $ajax_url = Config::get('ajax_url'); <?php require Config::get('prefix') . '/templates/show_album_row.inc.php'; ?> </tr> <?php } //end foreach ($albums as $album) ?> +<?php if (!count($object_ids)) { ?> +<tr class="<?php echo flip_class(); ?>"> + <td colspan="7"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td> +</tr> +<?php } ?> <tr class="th-bottom"> <th class="cel_add"><?php echo _('Add'); ?></th> <?php if (Browse::get_filter('show_art')) { ?> |