|
From: Meik S. <acy...@ph...> - 2009-10-27 11:18:40
|
Author: acydburn
Date: Tue Oct 27 11:17:53 2009
New Revision: 10236
Log:
fix spaces/tabs
Modified:
branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
Modified: branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php (original)
--- branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php Tue Oct 27 11:17:53 2009
***************
*** 349,360 ****
global $config, $db, $user;
$error = '';
!
if (!sizeof($this->question_ids))
{
return false;
}
!
if (!$this->confirm_id)
{
$error = $user->lang['CONFIRM_QUESTION_WRONG'];
--- 349,360 ----
global $config, $db, $user;
$error = '';
!
if (!sizeof($this->question_ids))
{
return false;
}
!
if (!$this->confirm_id)
{
$error = $user->lang['CONFIRM_QUESTION_WRONG'];
***************
*** 419,425 ****
function reselect_question()
{
global $db, $user;
!
if (!sizeof($this->question_ids))
{
return false;
--- 419,425 ----
function reselect_question()
{
global $db, $user;
!
if (!sizeof($this->question_ids))
{
return false;
***************
*** 464,470 ****
function load_answer()
{
global $db, $user;
!
if (!sizeof($this->question_ids))
{
return false;
--- 464,470 ----
function load_answer()
{
global $db, $user;
!
if (!sizeof($this->question_ids))
{
return false;
***************
*** 948,957 ****
return $langs;
}
!
!
!
! /**
* Grab a question and bring it into a format the editor understands
*/
function acp_is_last($question_id)
--- 948,955 ----
return $langs;
}
!
! /**
* Grab a question and bring it into a format the editor understands
*/
function acp_is_last($question_id)
***************
*** 963,969 ****
$sql = 'SELECT question_id
FROM ' . CAPTCHA_QUESTIONS_TABLE . "
WHERE lang_iso = '" . $db->sql_escape($config['default_lang']) . "'
! AND question_id <> " . (int) $question_id;
$result = $db->sql_query_limit($sql, 1);
$question = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
--- 961,967 ----
$sql = 'SELECT question_id
FROM ' . CAPTCHA_QUESTIONS_TABLE . "
WHERE lang_iso = '" . $db->sql_escape($config['default_lang']) . "'
! AND question_id <> " . (int) $question_id;
$result = $db->sql_query_limit($sql, 1);
$question = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
|