Marius Cramer
2015-06-07 fc0edb2f00bcdc6baaaa29f9041e82f3003b9b44
interface/web/dashboard/dashlets/quota.php
@@ -6,7 +6,7 @@
      global $app;
      //* Loading Template
      $app->uses('tpl','quota_lib');
      $app->uses('tpl,quota_lib');
      $tpl = new tpl;
      $tpl->newTemplate("dashlets/templates/quota.htm");
@@ -16,7 +16,7 @@
      if(is_file($lng_file)) include $lng_file;
      $tpl->setVar($wb);
      $sites = $app->quota_lib->get_quota_data( ($_SESSION["s"]["user"]["typ"] != 'admin') ? $_SESSION['s']['user']['default_group'] : null);
      $sites = $app->quota_lib->get_quota_data( ($_SESSION["s"]["user"]["typ"] != 'admin') ? $_SESSION['s']['user']['client_id'] : null);
      //print_r($sites);
      $has_quota = false;