diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-07-19 09:51:25 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-07-19 09:51:25 +0000 |
commit | 45e127fc64bd6876aedd77e4d28d74a547baae04 (patch) | |
tree | 14d93fa5660f4225ee930c057826b9b5f10542c4 | |
parent | 117aa0fc9858c0467d10cd911518529094cffe9f (diff) | |
download | forums-45e127fc64bd6876aedd77e4d28d74a547baae04.tar forums-45e127fc64bd6876aedd77e4d28d74a547baae04.tar.gz forums-45e127fc64bd6876aedd77e4d28d74a547baae04.tar.bz2 forums-45e127fc64bd6876aedd77e4d28d74a547baae04.tar.xz forums-45e127fc64bd6876aedd77e4d28d74a547baae04.zip |
First round of fixes
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9793 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php index fe8a14c70f..bcb1370a1b 100644 --- a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php +++ b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php @@ -97,10 +97,7 @@ class phpbb_captcha_qa include("$phpbb_root_path/includes/db/db_tools.$phpEx"); } $db_tool = new phpbb_db_tools($db); - if (!$db_tool->sql_table_exists(QUESTIONS_TABLE)) - { - return false; - } + return $db_tool->sql_table_exists(QUESTIONS_TABLE); } function is_available() @@ -109,7 +106,7 @@ class phpbb_captcha_qa $user->add_lang('captcha_qa'); - if (self::is_installed()) + if (!self::is_installed()) { return false; } |