Bernd Wurst commited on 2017-10-23 10:17:50
Zeige 1 geänderte Dateien mit 2 Einfügungen und 0 Löschungen.
| ... | ... |
@@ -263,11 +263,13 @@ function save_vmail_account($account) |
| 263 | 263 |
$forwards = array(); |
| 264 | 264 |
if (count($account['forwards']) > 0) |
| 265 | 265 |
{
|
| 266 |
+ for ($i = 0 ; $i < count($account['forwards']) ; $i++) {
|
|
| 266 | 267 |
$account['forwards'][$i]['destination'] = filter_input_general($account['forwards'][$i]['destination']); |
| 267 | 268 |
if (! check_emailaddr($account['forwards'][$i]['destination'])) {
|
| 268 | 269 |
system_failure('Das Weiterleitungs-Ziel »'.$account['forwards'][$i]['destination'].'« ist keine E-Mail-Adresse!');
|
| 269 | 270 |
} |
| 270 | 271 |
} |
| 272 |
+ } |
|
| 271 | 273 |
|
| 272 | 274 |
if ($accountlogin) {
|
| 273 | 275 |
$password = NULL; |
| 274 | 276 |