mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-31806 tags: remove second occurrence of id in query string
This commit is contained in:
parent
c4a12afaf9
commit
e56cd67d2f
@ -125,7 +125,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user