AliasHandler:

- if parent::init() fails, return false early to avoid warnings about
  undefined $this->result


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1574 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 11 years ago
parent 39001c3ba4
commit b3dc3f91ae

@ -114,6 +114,8 @@ class AliasHandler extends PFAHandler {
$retval = parent::init($id);
if (!$retval) return false; # parent::init() failed, no need to continue
# hide 'goto_mailbox' for non-mailbox aliases
# parent::init called view() before, so we can rely on having $this->result filled
# (only validate_new_id() is called from parent::init and could in theory change $this->result)

Loading…
Cancel
Save