diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-07-30 05:52:31 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-07-30 05:52:31 +0000 |
commit | aab3dc83a3fba9ea084e500247202d2acb714140 (patch) | |
tree | 8134e757c50aec4b43bf2462f360fca6aa024cf5 /lib | |
parent | ff77c79a5d4680924369766176a165d7baf27ae7 (diff) | |
download | ampache-aab3dc83a3fba9ea084e500247202d2acb714140.tar.gz ampache-aab3dc83a3fba9ea084e500247202d2acb714140.tar.bz2 ampache-aab3dc83a3fba9ea084e500247202d2acb714140.zip |
test icon for tag add, does not work
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/browse.class.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php index ff830826..cd424ec1 100644 --- a/lib/class/browse.class.php +++ b/lib/class/browse.class.php @@ -418,7 +418,6 @@ class Browse { private static function get_base_sql() { // Get our base SQL must always return ID -/* $includetags = (is_array($_SESSION['browse']['filter']['tag']) && sizeof($_SESSION['browse']['filter']['tag'])); $megajoin = ''; @@ -432,7 +431,7 @@ class Browse { if ($includetags) $megajoin .= ' tag_map.tag_id = tags.id AND '; $w = " WHERE 1=1 AND "; -*/ + switch ($_SESSION['browse']['type']) { case 'album': $sql = "SELECT DISTINCT `album`.`id` " |