Removing notice when disk quotas are disabled
This commit is contained in:
parent
75cb125201
commit
216b1b2289
|
@ -148,7 +148,7 @@ class m_quota {
|
||||||
$a=array();
|
$a=array();
|
||||||
exec("/usr/lib/alternc/quota_get ".$cuid ,$a);
|
exec("/usr/lib/alternc/quota_get ".$cuid ,$a);
|
||||||
$a[0]=intval($a[0]);
|
$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]);
|
$this->quotas[$val]=array("name"=>"$val", 'description'=>_("quota_".$val), "t"=>$a[1],"u"=>$a[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue