Преглед на файлове

Don't perform computations inside GetAsHTML because this may cause an infinite recursion since GetAsHTML is called by ToArgs

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2230 a333f486-631f-4898-b8df-5754b55c2be0
dflaven преди 12 години
родител
ревизия
a15a154b9c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/ormstopwatch.class.inc.php

+ 1 - 1
core/ormstopwatch.class.inc.php

@@ -162,7 +162,7 @@ class ormStopWatch
 		}
 		else
 		{
-			$iElapsedTemp = $this->ComputeDuration($oHostObject, $oAttDef, $this->iLastStart, time());
+			$iElapsedTemp = ''; //$this->ComputeDuration($oHostObject, $oAttDef, $this->iLastStart, time());
 			$aProperties['Elapsed'] = $this->iTimeSpent.' + '.$iElapsedTemp.' s + <img src="../images/indicator.gif">';
 		}