diff options
Diffstat (limited to 'templates/show_songs.inc')
-rw-r--r-- | templates/show_songs.inc | 2 |
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&song=<?php echo $song->id; ?>">Edit</a> | <a href="<?php echo $web_path; ?>/flag.php?song=<?php echo $song->id; ?>&action=flag">Flag</a> | - <?php if ($song->status === 'enabled') { ?> + <?php if ($song->enabled) { ?> <a href="<?php echo $web_path; ?>/admin/song.php?action=disable&song_ids=<?php echo $song->id; ?>">Disable</a> <?php } else { ?> <a href="<?php echo $web_path; ?>/admin/song.php?action=enabled&song_ids=<?php echo $song->id; ?>">Enable</a> |