Commit 0e4af4a0 authored by mlutfy's avatar mlutfy
Browse files

Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont...

Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont limites a 2147483647 (1.99 gigs)
parent 45a61510
......@@ -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)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment