0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

see: https://github.com/postfixadmin/postfixadmin/issues/347 - really patch MailboxHandler::storemore() ...

This commit is contained in:
David Goodwin 2020-04-18 19:23:17 +01:00
parent f7708520b3
commit d25632cc6e

View File

@ -217,7 +217,7 @@ class MailboxHandler extends PFAHandler {
protected function beforestore() {
if (isset($this->values['quota']) && $this->values['quota'] != -1) {
if (isset($this->values['quota']) && is_numeric($this->values['quota']) && $this->values['quota'] != -1) {
$multiplier = Config::read('quota_multiplier');
if ($multiplier == 0 || !is_numeric($multiplier)) { // or empty string, or null, or false...
$multiplier = 1;