Skip to content

Commit

Permalink
Merge branch 'MDL-31806-22' of https://github.com/mackensen/moodle in…
Browse files Browse the repository at this point in the history
…to MOODLE_22_STABLE
  • Loading branch information
Sam Hemelryk committed Mar 4, 2012
2 parents c71b744 + 044cd0a commit fecb44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag/coursetagslib.php
Expand Up @@ -103,7 +103,7 @@ function coursetag_get_all_tags($sort='name', $numtags=0) {
global $CFG, $DB; global $CFG, $DB;


// note that this selects all tags except for courses that are not visible // note that this selects all tags except for courses that are not visible
$sql = "SELECT id, name, id, tagtype, rawname, f.timemodified, flag, count $sql = "SELECT id, name, tagtype, rawname, f.timemodified, flag, count
FROM {tag} t, FROM {tag} t,
(SELECT tagid, MAX(timemodified) as timemodified, COUNT(id) as count (SELECT tagid, MAX(timemodified) as timemodified, COUNT(id) as count
FROM {tag_instance} WHERE tagid NOT IN FROM {tag_instance} WHERE tagid NOT IN
Expand Down

0 comments on commit fecb44d

Please sign in to comment.