From 549e4844a9961711f93f18320fdbe08afa23d22f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 15 Feb 2008 20:53:23 +0000 Subject: [PATCH] notice fixes --- inc/load_cache.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); -- 2.39.5