]> 91.132.146.200 Git - insipid.git/commitdiff
fixed a bug in tag selection sql query
authorBanana <banana@mirage>
Sun, 29 Dec 2019 08:43:36 +0000 (09:43 +0100)
committerBanana <banana@mirage>
Sun, 29 Dec 2019 08:43:36 +0000 (09:43 +0100)
ChangeLog
webroot/index.php
webroot/lib/management.class.php

index b93697f4d4e506750ab85a6552078dcb3c1711ca..a7a1fadb1b2ee7d3430910b8763087726ecb759c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
 version x.x - Guardian of Steel (tba)
 
-
+    + Fixed a bug in tag selection SQL query
 
 version 2.2 - Guardian of Ice - (2019-02-27)
 
index 7a3013c36b278ae353d48e24b4677d4af7cbf62a..41503346ccb105474ae9ffc6dbcff5b4d3ea3b89 100644 (file)
@@ -32,7 +32,7 @@ ini_set('error_reporting',-1); // E_ALL & E_STRICT
 # time settings
 date_default_timezone_set('Europe/Berlin');
 
-define('DEBUG',false);
+define('DEBUG',true);
 
 ## check request
 $_urlToParse = filter_var($_SERVER['QUERY_STRING'],FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
index 8188d9ace937d8e8fd9871ee08e3da0d620a1fc2..696c3995e83993101c2c9a97420e6f672050cc3c 100644 (file)
@@ -154,7 +154,7 @@ class Management {
                                FROM `".DB_PREFIX."_tagrelation` AS tr,  `".DB_PREFIX."_link` AS t
                                WHERE tr.linkid = t.id";
                        $queryStr .= " AND ".$this->_decideLinkTypeForQuery();
-                       $queryStr .= "GROUP BY tagId";
+                       $queryStr .= " GROUP BY tagId";
 
                        $query = $this->DB->query($queryStr);
                        if(!empty($query)) {