From c69eb2e5d75e1f2a201294097bcc15cc38b522d1 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 4 Oct 2012 09:09:25 +0000 Subject: [PATCH] Don't perform computations inside GetAsHTML because this may cause an infinite recursion since GetAsHTML is called by ToArgs SVN:trunk[2230] --- core/ormstopwatch.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ormstopwatch.class.inc.php b/core/ormstopwatch.class.inc.php index f71feba9d..333641d36 100644 --- a/core/ormstopwatch.class.inc.php +++ b/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 + '; }