Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont limites a 2147483647 (1.99 gigs)

This commit is contained in:
mlutfy 2008-04-30 02:42:12 +00:00
parent 45a6151067
commit 0e4af4a02d
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ if($_POST["action"] == "add") {
continue;
list($type, $q) = explode(":", $key, 2);
$c[$type][$q] = abs(intval($val));
$c[$type][$q] = abs(floatval($val));
}
if($quota->setdefaults($c)) {