Ver Fonte

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 há 14 anos atrás
pai
commit
f70cd16161
1 ficheiros alterados com 1 adições e 1 exclusões
  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());