Bernd Wurst commited on 2018-04-09 10:21:14
Zeige 1 geänderte Dateien mit 2 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -168,8 +168,9 @@ if ($_GET['action'] == 'edit') |
| 168 | 168 |
if (count($account['forwards']) == 0) system_failure("Bitte mindestens eine Weiterleitungsadresse angeben.");
|
| 169 | 169 |
} |
| 170 | 170 |
|
| 171 |
- if ((isset($_POST['forward']) && $_POST['forward']!='yes') && (isset($_POST['mailbox']) && $_POST['mailbox']!='yes')) |
|
| 171 |
+ if ($account['password'] === NULL && count($account['forwards']) == 0) {
|
|
| 172 | 172 |
system_failure("Entweder eine Mailbox oder eine Weiterleitung muss angegeben werden!");
|
| 173 |
+ } |
|
| 173 | 174 |
|
| 174 | 175 |
DEBUG($account); |
| 175 | 176 |
|
| 176 | 177 |