fix if/else code error
This commit is contained in:
parent
fc52030df9
commit
bdf80565f3
|
@ -31,7 +31,7 @@ class MboxesAdd extends \Panel\Vmail {
|
||||||
$f3->reroute("/Email/$domain/Accounts");
|
$f3->reroute("/Email/$domain/Accounts");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
$mbox = array();
|
$mbox = array();
|
||||||
$mbox['status'] = 1;
|
$mbox['status'] = 1;
|
||||||
$mbox['quota'] = $mbox_defaults[0]['mbox_quota_default'];
|
$mbox['quota'] = $mbox_defaults[0]['mbox_quota_default'];
|
||||||
|
@ -41,7 +41,6 @@ class MboxesAdd extends \Panel\Vmail {
|
||||||
$mbox['filtering'] = 2;
|
$mbox['filtering'] = 2;
|
||||||
$f3->set('mbox', $mbox);
|
$f3->set('mbox', $mbox);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user