Explorar o código

Optimization: displaying 1000 object would take real long if many organizations are loaded into iTop (querying all the orgs for each object)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1277 a333f486-631f-4898-b8df-5754b55c2be0
romainq %!s(int64=14) %!d(string=hai) anos
pai
achega
f70cd16161
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/applicationcontext.class.inc.php

+ 1 - 1
application/applicationcontext.class.inc.php

@@ -54,7 +54,7 @@ class ApplicationContext
 	 */
 	protected function ReadContext()
 	{
-		if (empty(self::$aDefaultValues))
+		if (!isset(self::$aDefaultValues))
 		{
 			self::$aDefaultValues = array();
 			$aContext = utils::ReadParam('c', array());