Bernd Wurst commited on 2014-02-02 16:39:46
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -376,7 +376,7 @@ function save_vmail_account($account) |
| 376 | 376 |
$forward_query = "INSERT INTO mail.vmail_forward (account,spamfilter,destination) VALUES (:account, :spamfilter, :destination)"; |
| 377 | 377 |
for ($i=0;$i < count($account['forwards']); $i++) |
| 378 | 378 |
{
|
| 379 |
- db_query($forward_query, array(":id" => $id, ":spamfilter" => $account['forwards'][$i]['spamfilter'], ":destination" => $account['forwards'][$i]['destination']));
|
|
| 379 |
+ db_query($forward_query, array(":account" => $id, ":spamfilter" => $account['forwards'][$i]['spamfilter'], ":destination" => $account['forwards'][$i]['destination']));
|
|
| 380 | 380 |
} |
| 381 | 381 |
} |
| 382 | 382 |
if ($newaccount && $password != 'NULL') |
| 383 | 383 |