fixed Problem. Quotas were displayed wrong for new users.

This commit is contained in:
katagia 2003-11-08 12:44:26 +00:00
parent 55e8c117ed
commit c185e5d9aa
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ if ($( == 0 ) { # we are root
$i=0; $i=0;
($<, $>) = ($>, $<); # Get root privileges ($<, $>) = ($>, $<); # Get root privileges
while ($quota_usr[$i][0]) { while ($quota_usr[$i][0]) {
if ($vals[2]ne'+') { if ($vals[0]ne'+') {
$dev = Quota::getqcarg($quota_usr[$i][1]); $dev = Quota::getqcarg($quota_usr[$i][1]);
@temp = Quota::query($dev,$user[2],$group); @temp = Quota::query($dev,$user[2],$group);
if ($temp[0]ne'') { if ($temp[0]ne'') {