From 0e4af4a02d03a3acd45f478e844ecd7b53a606b4 Mon Sep 17 00:00:00 2001 From: mlutfy <> Date: Wed, 30 Apr 2008 02:42:12 +0000 Subject: [PATCH] Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont limites a 2147483647 (1.99 gigs) --- bureau/admin/adm_dodefquotas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/admin/adm_dodefquotas.php b/bureau/admin/adm_dodefquotas.php index 320060d8..3ef666b3 100644 --- a/bureau/admin/adm_dodefquotas.php +++ b/bureau/admin/adm_dodefquotas.php @@ -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)) {