summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_songs.inc.php')
-rw-r--r--templates/show_songs.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php
index bbc2ab60..91ce1ce9 100644
--- a/templates/show_songs.inc.php
+++ b/templates/show_songs.inc.php
@@ -58,6 +58,11 @@ $ajax_url = Config::get('ajax_url');
<?php require Config::get('prefix') . '/templates/show_song_row.inc.php'; ?>
</tr>
<?php } ?>
+<?php if (!count($object_ids)) { ?>
+<tr class="<?php echo flip_class(); ?>">
+ <td colspan="9"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td>
+</tr>
+<?php } ?>
<tr class="th-bottom">
<th class="cel_add"><?php echo _('Add'); ?></th>
<th class="cel_song"><?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title_bottom'); ?></th>