diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-13 08:11:09 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-13 08:11:09 +0000 |
commit | 4b5756ba9d8ee9e83c1ba4624b461b4746e49e82 (patch) | |
tree | 2e46772da9d25197fd847b273ca1f9b882ad3e34 /templates/rightbar.inc.php | |
parent | 93f4a26ab07207e1f9a8e716a82c5d8812d5344c (diff) | |
download | ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.gz ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.bz2 ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.zip |
Miscellaneous cleanup.
Diffstat (limited to 'templates/rightbar.inc.php')
-rw-r--r-- | templates/rightbar.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php index 55fcf26f..51f8d978 100644 --- a/templates/rightbar.inc.php +++ b/templates/rightbar.inc.php @@ -79,7 +79,7 @@ $objects = array(); //FIXME :: this is kludgy - if (NO_SONGS != '1') { + if (!defined('NO_SONGS')) { $objects = $GLOBALS['user']->playlist->get_items(); } @@ -108,7 +108,7 @@ <?php } if (!count($objects)) { ?> <li class="error"><?php echo _('Not Enough Data'); ?></li> <?php } ?> -<?php if ($truncated) { ?> +<?php if (isset($truncated)) { ?> <li class="<?php echo flip_class(); ?>"> <?php echo $truncated . ' ' . _('More'); ?>... </li> |