diff --git a/public_html/includes/class/class.LSformElement_quota.php b/public_html/includes/class/class.LSformElement_quota.php index 977e3ac9..350e8b63 100644 --- a/public_html/includes/class/class.LSformElement_quota.php +++ b/public_html/includes/class/class.LSformElement_quota.php @@ -136,7 +136,8 @@ class LSformElement_quota extends LSformElement { if (isset($_POST[$this -> name.'_sizeFact'][$key]) && ($_POST[$this -> name.'_sizeFact'][$key]!=1)) { $f = $_POST[$this -> name.'_sizeFact'][$key]; } - $return[$this -> name][$key] = intval(ceil(($val*$f)*$this -> getFactor())); + $val=preg_replace('/,/','.',$val); + $return[$this -> name][$key] = ceil(ceil(($val*$f)*$this -> getFactor())); } } return true;