diff --git a/ag/profil.php b/ag/profil.php index 375acc1..6a78d35 100644 --- a/ag/profil.php +++ b/ag/profil.php @@ -169,9 +169,9 @@ function display($user, $usergroups){ ?> moderat: /> '; - } + //} ?> @@ -205,7 +205,8 @@ function display($user, $usergroups){ if($charm == '1'){ $user_ida = changeProfil($user_ida, $usergroups, $new_pw, $new_nick, $new_nick2, $alt_pw, $homepage, $icq, $chat, $ads); -} + $usergroups = getUserGroups($user_ida['nickname']); +} display($user_ida, $usergroups);