Fix typos

git-svn-id: file:///svn/phpbb/trunk@8937 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Marek A. R 2008-09-25 19:55:04 +00:00
parent f6a47c6f82
commit 1cc419fb4c
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ class acp_captcha
$old_captcha->uninstall(); $old_captcha->uninstall();
set_config('captcha_plugin', $selected); set_config('captcha_plugin', $selected);
$new_captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']); $new_captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']);
$old_captcha->install(); $new_captcha->install();
} }
else else
{ {

View file

@ -262,7 +262,7 @@ abstract class phpbb_default_captcha implements phpbb_captcha_plugin
global $db, $user; global $db, $user;
$sql = 'DELETE FROM ' . CONFIRM_TABLE . " $sql = 'DELETE FROM ' . CONFIRM_TABLE . "
WHERE confirm_id = '" . $db->sql_escape($confirm_id) . "' WHERE confirm_id = '" . $db->sql_escape($this->confirm_id) . "'
AND session_id = '" . $db->sql_escape($user->session_id) . "' AND session_id = '" . $db->sql_escape($user->session_id) . "'
AND confirm_type = " . $this->type; AND confirm_type = " . $this->type;
$db->sql_query($sql); $db->sql_query($sql);