Parcourir la source

Resetting the stop watch...do clean the first start date when it is not running!

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3065 a333f486-631f-4898-b8df-5754b55c2be0
romainq il y a 11 ans
Parent
commit
2743ad5454
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      core/ormstopwatch.class.inc.php

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

@@ -259,6 +259,7 @@ class ormStopWatch
 	{
 		$this->iTimeSpent = 0;
 		$this->iStopped = null;
+		$this->iStarted = null;
 
 		foreach ($this->aThresholds as $iPercent => &$aThresholdData)
 		{