moglia
2010-05-16 bef47735b2cc8d484a9533a726f1c7a6c42b3f6c
interface/web/sites/shell_user_edit.php
@@ -198,7 +198,7 @@
   function getClientName() {
      global $app, $conf;
   
      if($_SESSION["s"]["user"]["typ"] != 'admin') {
      if($_SESSION["s"]["user"]["typ"] != 'admin' && !$app->auth->has_clients($_SESSION['s']['user']['userid'])) {
         // Get the group-id of the user
         $client_group_id = $_SESSION["s"]["user"]["default_group"];
      } else {