MDL-30370 mod_forum - Removing duplicate seleted field in the DB query
[moodle.git] / mod / forum / lib.php
index 921465c..995226a 100644 (file)
@@ -2090,8 +2090,7 @@ function forum_search_posts($searchterms, $courseid=0, $limitfrom=0, $limitnum=5
                          u.lastname,
                          u.email,
                          u.picture,
-                         u.imagealt,
-                         u.email
+                         u.imagealt
                     FROM $fromsql
                    WHERE $selectsql
                 ORDER BY p.modified DESC";