Explorar o código

#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 %!s(int64=12) %!d(string=hai) anos
pai
achega
47eff563d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.'-';