change quota reading (3451834)
This commit is contained in:
parent
c739c02167
commit
38dc307839
|
@ -297,15 +297,17 @@ sub manageQuotas {
|
|||
@quota_temp1 = split (':', $vals[4]);
|
||||
$group=0;
|
||||
$i=0;
|
||||
while ($quota_temp1[$i]) {
|
||||
foreach my $quota_element (@quota_temp1) {
|
||||
if (length ($quota_element) >= 2) {
|
||||
@temp = split (',', $quota_element);
|
||||
$j=0;
|
||||
@temp = split (',', $quota_temp1[$i]);
|
||||
while ($temp[$j]) {
|
||||
$quota[$i][$j] = $temp[$j];
|
||||
foreach my $temp_element (@temp) {
|
||||
$quota[$i][$j] = $temp_element;
|
||||
$j++;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
if ($vals[3] eq 'user') { $group=false; }
|
||||
else {
|
||||
$group=1;
|
||||
|
|
Loading…
Reference in New Issue