From: Roland Häder Date: Fri, 15 Feb 2008 20:53:23 +0000 (+0000) Subject: notice fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=549e4844a9961711f93f18320fdbe08afa23d22f;p=mailer.git notice fixes --- diff --git a/inc/load_cache.php b/inc/load_cache.php index 0f22199809..3cca36147f 100644 --- a/inc/load_cache.php +++ b/inc/load_cache.php @@ -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);