Bernd Wurst commited on 2013-02-25 10:25:42
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.
... | ... |
@@ -199,9 +199,9 @@ elseif ($_GET['action'] == 'delete') |
199 | 199 |
$domain = NULL; |
200 | 200 |
$domains = get_vmail_domains(); |
201 | 201 |
foreach ($domains as $dom) |
202 |
- if ($dom->id == $account['domain']) |
|
202 |
+ if ($dom['id'] == $account['domain']) |
|
203 | 203 |
{ |
204 |
- $domain = $dom->domainname; |
|
204 |
+ $domain = $dom['domainname']; |
|
205 | 205 |
break; |
206 | 206 |
} |
207 | 207 |
$account_string = $account['local'] . "@" . $domain; |
208 | 208 |