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

add missing multiplier retrieval from config! - see #65

This commit is contained in:
David Goodwin 2020-02-15 15:39:02 +00:00
parent 52e639f1fc
commit b4013d1166

View File

@ -216,7 +216,9 @@ class MailboxHandler extends PFAHandler {
protected function beforestore() {
if (isset($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;
}