Minor intval fix

This commit is contained in:
andryyy 2017-03-04 15:56:24 +01:00
parent 3e91d06d73
commit 3fbbece857

View File

@ -3599,7 +3599,7 @@ function mailbox_edit_mailbox($postarray) {
); );
return false; return false;
} }
$quota_m = $postarray['quota']; $quota_m = intval($postarray['quota']);
$quota_b = $quota_m*1048576; $quota_b = $quota_m*1048576;
$username = $postarray['username']; $username = $postarray['username'];
$name = $postarray['name']; $name = $postarray['name'];