Explorar o código

Protects against a JS error while the synchro is running in chunk mode

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1738 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=13) %!d(string=hai) anos
pai
achega
522405f5ff
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      synchro/synchrodatasource.class.inc.php

+ 1 - 0
synchro/synchrodatasource.class.inc.php

@@ -288,6 +288,7 @@ class SynchroDataSource extends cmdbAbstractObject
 	function UpdateSynoptics(id)
 	{
 		var aValues = aSynchroLog[id];
+		if (aValues == undefined) return;
 		
 		for (var sKey in aValues)
 		{