diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-27 11:17:53 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-27 11:17:53 +0000 |
commit | b23f6c90ba64370bddfcaaabdc57e44505dfc422 (patch) | |
tree | aa5834d635e3db5dfc1ccfc3b3b2595d47cee234 /phpBB/includes/captcha | |
parent | 56c8e341457ed2233483f09ba058772b53538bc3 (diff) | |
download | forums-b23f6c90ba64370bddfcaaabdc57e44505dfc422.tar forums-b23f6c90ba64370bddfcaaabdc57e44505dfc422.tar.gz forums-b23f6c90ba64370bddfcaaabdc57e44505dfc422.tar.bz2 forums-b23f6c90ba64370bddfcaaabdc57e44505dfc422.tar.xz forums-b23f6c90ba64370bddfcaaabdc57e44505dfc422.zip |
fix spaces/tabs
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10236 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha')
-rw-r--r-- | phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php | 16 |
1 files 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); |