From: Henry S. <kel...@ph...> - 2009-08-15 16:11:00
|
Author: Kellanved Date: Sat Aug 15 17:10:13 2009 New Revision: 9992 Log: #49755 Modified: branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php Modified: branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php (original) --- branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php Sat Aug 15 17:10:13 2009 *************** *** 676,682 **** { global $db, $template; ! $sql = 'SELECT * FROM ' . CAPTCHA_QUESTIONS_TABLE . ' WHERE 1'; $result = $db->sql_query($sql); $template->assign_vars(array( 'S_LIST' => true, --- 676,682 ---- { global $db, $template; ! $sql = 'SELECT * FROM ' . CAPTCHA_QUESTIONS_TABLE; $result = $db->sql_query($sql); $template->assign_vars(array( 'S_LIST' => true, *************** *** 857,863 **** global $db; $langs = array(); ! $sql = 'SELECT * FROM ' . LANG_TABLE . ' WHERE 1'; $result = $db->sql_query($sql); while($row = $db->sql_fetchrow($result)) { --- 857,863 ---- global $db; $langs = array(); ! $sql = 'SELECT * FROM ' . LANG_TABLE; $result = $db->sql_query($sql); while($row = $db->sql_fetchrow($result)) { |