From 227b0f5a7d38815ccf2f930d7b6786b5b05281d4 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Wed, 15 Aug 2012 16:56:06 +0800 Subject: [PATCH] MDL-30370 mod_forum - Removing duplicate seleted field in the DB query MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Credit to IƱigo Zendegi --- mod/forum/lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index f42b6364eb1..6dba0c8ae76 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -2058,8 +2058,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";