From d171762bc9fb5d6aedf36fad9d76dd362bdcdc78 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Wed, 25 Jul 2007 13:01:23 +0000 Subject: small fixes. #13794 : Raised the used error level by one #13763 : Removed an old Beta2 compatibility fix #13527 : cleaned up the code #13525 : Changed templates as proposed by damnian #11515 : added explanation about CPF checkboxes git-svn-id: file:///svn/phpbb/trunk@7943 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/functions_user.php') diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 35c3ace106..2ebcc30e81 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -730,11 +730,11 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas $clean_name = utf8_clean_string($username); if ($clean_name == $user->data['username_clean']) { - trigger_error('CANNOT_BAN_YOURSELF'); + trigger_error('CANNOT_BAN_YOURSELF', E_USER_WARNING); } if (in_array($clean_name, $founder_names)) { - trigger_error('CANNOT_BAN_FOUNDER'); + trigger_error('CANNOT_BAN_FOUNDER', E_USER_WARNING); } $sql_usernames[] = $clean_name; } -- cgit v1.2.1