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:
parent
0e68334864
commit
49c254a4e6
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user