fixed again inode/block limit comparison

This commit is contained in:
Roland Gruber 2005-10-04 15:32:42 +00:00
parent f198964c2e
commit 18a39aeb50
1 changed files with 2 additions and 2 deletions

View File

@ -403,8 +403,8 @@ class quota extends baseModule {
if (!get_preg($options["quota_hardblock_" . $dirs[$i]][0], 'digit')) $return[] = $this->messages['hardblock'][0];
if (!get_preg($options["quota_softinode_" . $dirs[$i]][0], 'digit')) $return[] = $this->messages['softinode'][0];
if (!get_preg($options["quota_hardinode_" . $dirs[$i]][0], 'digit')) $return[] = $this->messages['hardinode'][0];
if (intval($options["quota_softblock_" . $dirs[$i]][0]) > intval($options["quota_hardblock_$i"][0])) $return[] = $this->messages['block_cmp'][0];
if (intval($options["quota_softinode_" . $dirs[$i]][0]) > intval($options["quota_hardinode_$i"][0])) $return[] = $this->messages['inode_cmp'][0];
if (intval($options["quota_softblock_" . $dirs[$i]][0]) > intval($options["quota_hardblock_" . $dirs[$i]][0])) $return[] = $this->messages['block_cmp'][0];
if (intval($options["quota_softinode_" . $dirs[$i]][0]) > intval($options["quota_hardinode_" . $dirs[$i]][0])) $return[] = $this->messages['inode_cmp'][0];
$i++;
}
return $return;