aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-24 15:49:13 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-12-24 15:49:13 +0100
commit64b66a51b6291aa91277f98207813dbb78e7df6a (patch)
treef27007980e00f364b04ef63c14b4ba3a90ef785d /phpBB/phpbb
parent58856c06b046dda473a7c0c14d5b0459ad161185 (diff)
parenteb1cb073412972809a1459aa91d980b4be4ba831 (diff)
downloadforums-64b66a51b6291aa91277f98207813dbb78e7df6a.tar
forums-64b66a51b6291aa91277f98207813dbb78e7df6a.tar.gz
forums-64b66a51b6291aa91277f98207813dbb78e7df6a.tar.bz2
forums-64b66a51b6291aa91277f98207813dbb78e7df6a.tar.xz
forums-64b66a51b6291aa91277f98207813dbb78e7df6a.zip
Merge pull request #5456 from nunoplopes/ticket/15876
[ticket/15876] MySQL 5.7+ support for Q&A captcha plugin
Diffstat (limited to 'phpBB/phpbb')
-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 8f41434601..70b3f72cc3 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))