From 047e73e5dfd27b95103b1c0ce67fc06c2d0c8b30 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 4 Mar 2017 15:55:51 +0100 Subject: [PATCH] Minor intval fix --- data/web/inc/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];