From bc57fdc01ce6c1a9275f16a0791c60dbc0b449b7 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Sat, 15 Aug 2009 16:10:13 +0000 Subject: [PATCH] #49755 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9992 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php index 84730a738c..7dd5233045 100644 --- a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php +++ b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php @@ -676,7 +676,7 @@ class phpbb_captcha_qa { global $db, $template; - $sql = 'SELECT * FROM ' . CAPTCHA_QUESTIONS_TABLE . ' WHERE 1'; + $sql = 'SELECT * FROM ' . CAPTCHA_QUESTIONS_TABLE; $result = $db->sql_query($sql); $template->assign_vars(array( 'S_LIST' => true, @@ -857,7 +857,7 @@ class phpbb_captcha_qa global $db; $langs = array(); - $sql = 'SELECT * FROM ' . LANG_TABLE . ' WHERE 1'; + $sql = 'SELECT * FROM ' . LANG_TABLE; $result = $db->sql_query($sql); while($row = $db->sql_fetchrow($result)) {