1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 04:23:38 +01:00

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