mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:01:55 +02:00
[ticket/15876] MySQL 5.7+ support for Q&A captch plugin
PHPBB3-15876
This commit is contained in:
@@ -107,8 +107,7 @@ class qa
|
|||||||
|
|
||||||
$sql = 'SELECT q.question_id, q.lang_iso
|
$sql = 'SELECT q.question_id, q.lang_iso
|
||||||
FROM ' . $this->table_captcha_questions . ' q, ' . $this->table_captcha_answers . ' a
|
FROM ' . $this->table_captcha_questions . ' q, ' . $this->table_captcha_answers . ' a
|
||||||
WHERE q.question_id = a.question_id
|
WHERE q.question_id = a.question_id';
|
||||||
GROUP BY lang_iso';
|
|
||||||
$result = $db->sql_query($sql, 7200);
|
$result = $db->sql_query($sql, 7200);
|
||||||
|
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
Reference in New Issue
Block a user