diff options
author | David M <davidmj@users.sourceforge.net> | 2006-10-10 01:39:48 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-10-10 01:39:48 +0000 |
commit | e9df6f354697881f123cc6f188f4c85a54a911d8 (patch) | |
tree | 9236bcd55f8eef75ebb2635bce25364a2ac816d9 /phpBB/includes/acp/acp_permission_roles.php | |
parent | 42dcd7929e7433ecdac023baa870c0bba62cf728 (diff) | |
download | forums-e9df6f354697881f123cc6f188f4c85a54a911d8.tar forums-e9df6f354697881f123cc6f188f4c85a54a911d8.tar.gz forums-e9df6f354697881f123cc6f188f4c85a54a911d8.tar.bz2 forums-e9df6f354697881f123cc6f188f4c85a54a911d8.tar.xz forums-e9df6f354697881f123cc6f188f4c85a54a911d8.zip |
#4680
this bothered me :P
git-svn-id: file:///svn/phpbb/trunk@6472 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_permission_roles.php')
-rw-r--r-- | phpBB/includes/acp/acp_permission_roles.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_permission_roles.php b/phpBB/includes/acp/acp_permission_roles.php index ad0636a743..99c0181f0a 100644 --- a/phpBB/includes/acp/acp_permission_roles.php +++ b/phpBB/includes/acp/acp_permission_roles.php @@ -152,7 +152,7 @@ class acp_permission_roles $db->sql_freeresult($result); // Make sure we only print out the error if we add the role or change it's name - if ($row && ($mode == 'add' || ($mode == 'edit' && $role_row['role_name']) != $role_name))) + if ($row && ($mode == 'add' || ($mode == 'edit' && $role_row['role_name'] != $role_name))) { trigger_error(sprintf($user->lang['ROLE_NAME_ALREADY_EXIST'], $role_name) . adm_back_link($this->u_action), E_USER_WARNING); } |