summaryrefslogtreecommitdiffstats
path: root/lib/class
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class')
-rw-r--r--lib/class/browse.class.php3
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` "