Correction classe m_quota.php
This commit is contained in:
parent
c07d7fbac4
commit
ebf9c3c5c8
|
@ -150,7 +150,7 @@ class m_quota {
|
||||||
reset($this->disk);
|
reset($this->disk);
|
||||||
while (list($key,$val)=each($this->disk)) {
|
while (list($key,$val)=each($this->disk)) {
|
||||||
$a=array();
|
$a=array();
|
||||||
exec("/usr/lib/alternc/quota_get ".$cuid." ".$val,$a);
|
exec("/usr/lib/alternc/quota_get ".$cuid ,$a);
|
||||||
$this->quotas[$val]=array("t"=>$a[1],"u"=>$a[0]);
|
$this->quotas[$val]=array("t"=>$a[1],"u"=>$a[0]);
|
||||||
}
|
}
|
||||||
$get_quota_cache[$cuid] = $this->quotas;
|
$get_quota_cache[$cuid] = $this->quotas;
|
||||||
|
|
Loading…
Reference in New Issue