summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_songs.inc')
-rw-r--r--templates/show_songs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_songs.inc b/templates/show_songs.inc
index c8d75ae4..0702a157 100644
--- a/templates/show_songs.inc
+++ b/templates/show_songs.inc
@@ -98,7 +98,7 @@ $web_path = conf('web_path');
<td>
<?php if ($user->has_access('100')) { ?>
<a href="<?php echo $web_path; ?>/admin/song.php?action=edit&amp;song=<?php echo $song->id; ?>">Edit</a> | <a href="<?php echo $web_path; ?>/flag.php?song=<?php echo $song->id; ?>&amp;action=flag">Flag</a> |
- <?php if ($song->status === 'enabled') { ?>
+ <?php if ($song->enabled) { ?>
<a href="<?php echo $web_path; ?>/admin/song.php?action=disable&amp;song_ids=<?php echo $song->id; ?>">Disable</a>
<?php } else { ?>
<a href="<?php echo $web_path; ?>/admin/song.php?action=enabled&amp;song_ids=<?php echo $song->id; ?>">Enable</a>