Commit 216b1b22 authored by Steven Mondji-Lerider's avatar Steven Mondji-Lerider

Removing notice when disk quotas are disabled

parent 75cb1252
...@@ -148,7 +148,7 @@ class m_quota { ...@@ -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]);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment