phpBB

Code Changes

File: phpbb/captcha/plugins/qa.php

  Unmodified   Added   Modified   Removed
Line 21Line 21
{
var $confirm_id;
var $answer;

{
var $confirm_id;
var $answer;

	var $question_ids;

	var $question_ids = [];

	var $question_text;
var $question_lang;
var $question_strict;

	var $question_text;
var $question_lang;
var $question_strict;

Line 107Line 107

$sql = 'SELECT q.question_id, q.lang_iso
FROM ' . $this->table_captcha_questions . ' q, ' . $this->table_captcha_answers . ' a


$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))

			$result = $db->sql_query($sql, 7200);

while ($row = $db->sql_fetchrow($result))

Line 638Line 637
	/**
* API function - The ACP backend, this marks the end of the easy methods
*/

	/**
* API function - The ACP backend, this marks the end of the easy methods
*/

	function acp_page($id, &$module)

	function acp_page($id, $module)

	{
global $config, $request, $phpbb_log, $template, $user;


	{
global $config, $request, $phpbb_log, $template, $user;


Line 776Line 775
	/**
* This handles the list overview
*/

	/**
* This handles the list overview
*/

	function acp_question_list(&$module)

	function acp_question_list($module)

	{
global $db, $template;


	{
global $db, $template;