]> git.mxchange.org Git - mailer.git/commitdiff
notice fixes
authorRoland Häder <roland@mxchange.org>
Fri, 15 Feb 2008 20:53:23 +0000 (20:53 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 15 Feb 2008 20:53:23 +0000 (20:53 +0000)
inc/load_cache.php

index 0f22199809b3c8b81a868d1385ed227a041b64b3..3cca36147fb1c12127c3b2c4694576fd62783f49 100644 (file)
@@ -68,11 +68,11 @@ if (($CACHE->cache_file("admins", true) == true)) {
                                //* DEBUG: */ print_r($ADMINS);
 
                                // Clear array
-                               unset($ADMINS['aid'][$k]);
-                               unset($ADMINS['def_acl'][$k]);
-                               unset($ADMINS['la_mode'][$k]);
-                               unset($ADMINS['password'][$k]);
-                               unset($ADMINS['email'][$k]);
+                               if (isset($ADMINS['aid'][$k]))          unset($ADMINS['aid'][$k]);
+                               if (isset($ADMINS['def_acl'][$k]))      unset($ADMINS['def_acl'][$k]);
+                               if (isset($ADMINS['la_mode'][$k]))      unset($ADMINS['la_mode'][$k]);
+                               if (isset($ADMINS['password'][$k]))     unset($ADMINS['password'][$k]);
+                               if (isset($ADMINS['email'][$k]))        unset($ADMINS['email'][$k]);
                        }
 
                        //* DEBUG: */ print_r($ADMINS);