fix spaces/tabs

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10236 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2009-10-27 11:17:53 +00:00
parent 56c8e34145
commit b23f6c90ba

View file

@ -349,12 +349,12 @@ class phpbb_captcha_qa
global $config, $db, $user; global $config, $db, $user;
$error = ''; $error = '';
if (!sizeof($this->question_ids)) if (!sizeof($this->question_ids))
{ {
return false; return false;
} }
if (!$this->confirm_id) if (!$this->confirm_id)
{ {
$error = $user->lang['CONFIRM_QUESTION_WRONG']; $error = $user->lang['CONFIRM_QUESTION_WRONG'];
@ -419,7 +419,7 @@ class phpbb_captcha_qa
function reselect_question() function reselect_question()
{ {
global $db, $user; global $db, $user;
if (!sizeof($this->question_ids)) if (!sizeof($this->question_ids))
{ {
return false; return false;
@ -464,7 +464,7 @@ class phpbb_captcha_qa
function load_answer() function load_answer()
{ {
global $db, $user; global $db, $user;
if (!sizeof($this->question_ids)) if (!sizeof($this->question_ids))
{ {
return false; return false;
@ -948,10 +948,8 @@ class phpbb_captcha_qa
return $langs; return $langs;
} }
/**
/**
* Grab a question and bring it into a format the editor understands * Grab a question and bring it into a format the editor understands
*/ */
function acp_is_last($question_id) function acp_is_last($question_id)
@ -963,7 +961,7 @@ class phpbb_captcha_qa
$sql = 'SELECT question_id $sql = 'SELECT question_id
FROM ' . CAPTCHA_QUESTIONS_TABLE . " FROM ' . CAPTCHA_QUESTIONS_TABLE . "
WHERE lang_iso = '" . $db->sql_escape($config['default_lang']) . "' WHERE lang_iso = '" . $db->sql_escape($config['default_lang']) . "'
AND question_id <> " . (int) $question_id; AND question_id <> " . (int) $question_id;
$result = $db->sql_query_limit($sql, 1); $result = $db->sql_query_limit($sql, 1);
$question = $db->sql_fetchrow($result); $question = $db->sql_fetchrow($result);
$db->sql_freeresult($result); $db->sql_freeresult($result);