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

avoid undefined array key quota.... see #853

This commit is contained in:
David Goodwin 2024-09-01 19:23:58 +01:00
parent 0e68334864
commit 49c254a4e6
No known key found for this signature in database

View File

@ -228,7 +228,7 @@ class MailboxHandler extends PFAHandler {
} }
// Avoid trying to store '' in an integer field // Avoid trying to store '' in an integer field
if ($this->values['quota'] === '') { if (array_key_exists('quota', $this->values) && $this->values['quota'] === '') {
$this->values['quota'] = 0; $this->values['quota'] = 0;
} }