Removing notice when disk quotas are disabled

This commit is contained in:
Steven Mondji-Lerider 2013-02-08 14:29:51 +00:00
parent 75cb125201
commit 216b1b2289
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class m_quota {
$a=array();
exec("/usr/lib/alternc/quota_get ".$cuid ,$a);
$a[0]=intval($a[0]);
$a[1]=intval($a[1]);
$a[1]=@intval($a[1]);
$this->quotas[$val]=array("name"=>"$val", 'description'=>_("quota_".$val), "t"=>$a[1],"u"=>$a[0]);
}