aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/captcha/plugins/qa.php
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2018-11-24 23:43:41 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2018-11-24 23:43:41 +0000
commiteb1cb073412972809a1459aa91d980b4be4ba831 (patch)
tree0f843158e33f3337c3acd9e609ccea914b021d0a /phpBB/phpbb/captcha/plugins/qa.php
parent5179e4f93fb372a97a1e71f086c162310edd1b36 (diff)
downloadforums-eb1cb073412972809a1459aa91d980b4be4ba831.tar
forums-eb1cb073412972809a1459aa91d980b4be4ba831.tar.gz
forums-eb1cb073412972809a1459aa91d980b4be4ba831.tar.bz2
forums-eb1cb073412972809a1459aa91d980b4be4ba831.tar.xz
forums-eb1cb073412972809a1459aa91d980b4be4ba831.zip
[ticket/15876] MySQL 5.7+ support for Q&A captch plugin
PHPBB3-15876
Diffstat (limited to 'phpBB/phpbb/captcha/plugins/qa.php')
-rw-r--r--phpBB/phpbb/captcha/plugins/qa.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/phpbb/captcha/plugins/qa.php b/phpBB/phpbb/captcha/plugins/qa.php
index 7797212ac9..af351e89d6 100644
--- a/phpBB/phpbb/captcha/plugins/qa.php
+++ b/phpBB/phpbb/captcha/plugins/qa.php
@@ -107,8 +107,7 @@ class qa
$sql = 'SELECT q.question_id, q.lang_iso
FROM ' . $this->table_captcha_questions . ' q, ' . $this->table_captcha_answers . ' a
- WHERE q.question_id = a.question_id
- GROUP BY lang_iso';
+ WHERE q.question_id = a.question_id';
$result = $db->sql_query($sql, 7200);
while ($row = $db->sql_fetchrow($result))