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

SVN:trunk[1277]
This commit is contained in:
Romain Quetiez
2011-06-08 14:31:22 +00:00
parent d48fd1a12e
commit 35f7d143b8

View File

@@ -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());