version x.x - Guardian of Steel (tba)
-
+ + Fixed a bug in tag selection SQL query
version 2.2 - Guardian of Ice - (2019-02-27)
# 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);
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)) {