change quota reading (3451834)

This commit is contained in:
Roland Gruber 2011-12-08 17:20:22 +00:00
parent c739c02167
commit 38dc307839
1 changed files with 9 additions and 7 deletions

View File

@ -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;