Browse 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 11 years ago
parent
commit
2743ad5454
1 changed files with 1 additions and 0 deletions
  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)
 		{