From c834d3bc9f23fbbae00b8f0fc3352ddfacd698ec Mon Sep 17 00:00:00 2001 From: hecht Date: Thu, 1 Sep 2011 10:42:57 +0000 Subject: [PATCH] thats why i hate copy & paste ... --- ag/include/designfunctions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ag/include/designfunctions.inc.php b/ag/include/designfunctions.inc.php index 595eec9..01637c9 100644 --- a/ag/include/designfunctions.inc.php +++ b/ag/include/designfunctions.inc.php @@ -28,7 +28,7 @@ function displayUserNameByID($userid, $showClanTags = TRUE){ $sql = 'select nickname, user.id as userid, clan.clanz_pre, clan.clanz_suff from user left join clan on user.clan = clan.id where user.id = '.$userid; $user_info = mysql_fetch_assoc(mysql_query($sql)); - if(isUserInGroup($usergroups, Werbung_an)){ + if(isUserInGroup($groups, Werbung_an)){ if(isUserInGroup($groups, admin)){ $color = 'style="color:'.$GLOBALS['COLOR_GM'].'"'; } else if(isUserInGroup($groups, entwickler)){