MDL-16585: fixing query.

This commit is contained in:
scyrma
2008-09-19 10:02:30 +00:00
parent d178d3a213
commit eb61a1e83a
+1 -1
View File
@@ -830,7 +830,7 @@ function tag_find_tags($text, $ordered=true, $limitfrom='', $limitnum='') {
global $CFG;
$text = array_shift(tag_normalize($text, TAG_CASE_LOWER));
$text = addslashes(array_shift(tag_normalize($text, TAG_CASE_LOWER)));
if ($ordered) {
$query = "SELECT tg.id, tg.name, tg.rawname, COUNT(ti.id) AS count ".