mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #5456 from nunoplopes/ticket/15876
[ticket/15876] MySQL 5.7+ support for Q&A captcha plugin
This commit is contained in:
commit
64b66a51b6
1 changed files with 1 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue