Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
93b70a293b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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)