Permalink
Browse files

MDL-30370 mod_forum - Removing duplicate seleted field in the DB query

Credit to Iñigo Zendegi
  • Loading branch information...
1 parent e6aac11 commit 25e77f4f73118efcc4581c3a05bbdf4a260a2fcc @dmonllao dmonllao committed Aug 15, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/forum/lib.php
View
@@ -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";

0 comments on commit 25e77f4

Please sign in to comment.