aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_permission_roles.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-10-10 01:39:48 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-10-10 01:39:48 +0000
commite9df6f354697881f123cc6f188f4c85a54a911d8 (patch)
tree9236bcd55f8eef75ebb2635bce25364a2ac816d9 /phpBB/includes/acp/acp_permission_roles.php
parent42dcd7929e7433ecdac023baa870c0bba62cf728 (diff)
downloadforums-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.php2
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);
}