Browse files

MDL-31806 tags: remove second occurrence of id in query string

  • Loading branch information...
1 parent 62b0af5 commit 1feed43c45340a19da0bd091392ccd3c555e3aa1 @mackensen mackensen committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tag/coursetagslib.php
@@ -103,7 +103,7 @@ function coursetag_get_all_tags($sort='name', $numtags=0) {
global $CFG, $DB;
// 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,
(SELECT tagid, MAX(timemodified) as timemodified, COUNT(id) as count
FROM {tag_instance} WHERE tagid NOT IN

0 comments on commit 1feed43

Please sign in to comment.