diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-06-14 22:27:23 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-06-14 22:27:23 +0200 |
commit | 46cae83264905a25e47355dfb7923df2d9ec252f (patch) | |
tree | 2031d72bb83216c9db94ca875718167c75d2b6fc /phpBB/includes/acp | |
parent | a5b238019b24a944e4ca8c6fe34dee9897790bd6 (diff) | |
download | forums-46cae83264905a25e47355dfb7923df2d9ec252f.tar forums-46cae83264905a25e47355dfb7923df2d9ec252f.tar.gz forums-46cae83264905a25e47355dfb7923df2d9ec252f.tar.bz2 forums-46cae83264905a25e47355dfb7923df2d9ec252f.tar.xz forums-46cae83264905a25e47355dfb7923df2d9ec252f.zip |
[ticket/9655] Pass E_USER_WARNING, so it doesn't look like a successful action.
PHPBB3-9655
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_captcha.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_captcha.php b/phpBB/includes/acp/acp_captcha.php index 56a57e319c..1893eed14f 100644 --- a/phpBB/includes/acp/acp_captcha.php +++ b/phpBB/includes/acp/acp_captcha.php @@ -89,14 +89,14 @@ class acp_captcha } else { - trigger_error($user->lang['CAPTCHA_UNAVAILABLE'] . adm_back_link($this->u_action)); + trigger_error($user->lang['CAPTCHA_UNAVAILABLE'] . adm_back_link($this->u_action), E_USER_WARNING); } } trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action)); } else if ($submit) { - trigger_error($user->lang['FORM_INVALID'] . adm_back_link()); + trigger_error($user->lang['FORM_INVALID'] . adm_back_link(), E_USER_WARNING); } else { |