Bläddra i källkod

#660 Warning raised with ZendServer (with APC cache enabled) causing the setup to fail

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2622 a333f486-631f-4898-b8df-5754b55c2be0
romainq 12 år sedan
förälder
incheckning
47eff563d3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      core/metamodel.class.php

+ 1 - 1
core/metamodel.class.php

@@ -5148,7 +5148,7 @@ abstract class MetaModel
 		}
 		$aEntries = array();
 		$aCacheUserData = @apc_cache_info('user');
-		if (is_array($aCacheUserData))
+		if (is_array($aCacheUserData) && isset($aCacheUserData['cache_list']))
 		{ 
 			$sPrefix = 'itop-'.$sEnvironment.'-';