Skip to content

Commit

Permalink
MDL-31806 tags: remove second occurrence of id in query string
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Feb 29, 2012
1 parent c4a12af commit e56cd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag/coursetagslib.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -125,7 +125,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 e56cd67

Please sign in to comment.