From af213166f36f3e71e4f3387827629fea5d190711 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Wed, 12 Aug 2009 19:57:34 +0000 Subject: [PATCH] some fixes git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9967 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php index 76e5a3163c..9b05f25dd3 100644 --- a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php +++ b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php @@ -121,7 +121,7 @@ class phpbb_captcha_qa // load language file for pretty display in the ACP dropdown $user->add_lang('captcha_qa'); - if (!self::is_installed()) + if (!phpbb_captcha_qa::is_installed()) { return false; } @@ -273,7 +273,7 @@ class phpbb_captcha_qa 'strict' => array('BOOL', 0), 'lang_id' => array('UINT', 0), 'lang_iso' => array('VCHAR:30', 0), - 'question_text' => array('TEXT', 0), + 'question_text' => array('TEXT_UNI', ''), ), 'PRIMARY_KEY' => 'question_id', 'KEYS' => array( @@ -283,7 +283,7 @@ class phpbb_captcha_qa ANSWERS_TABLE => array ( 'COLUMNS' => array( 'question_id' => array('UINT', 0), - 'answer_text' => array('TEXT', 0), + 'answer_text' => array('STEXT_UNI', ''), ), 'KEYS' => array( 'question_id' => array('INDEX', 'question_id'),