diff --git a/data/web/inc/functions.inc.php b/data/web/inc/functions.inc.php index a56a7ca6..c62421c5 100644 --- a/data/web/inc/functions.inc.php +++ b/data/web/inc/functions.inc.php @@ -3599,7 +3599,7 @@ function mailbox_edit_mailbox($postarray) { ); return false; } - $quota_m = $postarray['quota']; + $quota_m = intval($postarray['quota']); $quota_b = $quota_m*1048576; $username = $postarray['username']; $name = $postarray['name'];