Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
522405f5ff
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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)
 		{