Bläddra i källkod

ResetStopWatch could not be used as a lifecycle action: the symptom is "The action has failed".

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3967 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 år sedan
förälder
incheckning
93b70a293b
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      core/dbobject.class.php

+ 2 - 1
core/dbobject.class.php

@@ -2256,7 +2256,8 @@ abstract class DBObject implements iDisplay
 		$oSW = $this->Get($sAttCode);
 		$oSW->Reset($this, $oAttDef);
 		$this->Set($sAttCode, $oSW);
-	}	 	
+		return true;
+	}
 
 	/**
 	 * Lifecycle action: Recover the default value (aka when an object is being created)