Browse code

object => assoc

Bernd Wurst authored on25/02/2013 10:25:42
Showing1 changed files
... ...
@@ -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;