Sfoglia il codice sorgente

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 13 anni fa
parent
commit
522405f5ff
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)
 		{