From b23f6c90ba64370bddfcaaabdc57e44505dfc422 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 27 Oct 2009 11:17:53 +0000 Subject: [PATCH] fix spaces/tabs git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10236 89ea8834-ac86-4346-8a33-228a782c2dd0 --- .../captcha/plugins/phpbb_captcha_qa_plugin.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php index 095cc89aee..a0654bba19 100644 --- a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php +++ b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php @@ -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);