From 0104c3fe413def6f586f3c5b7d8e3c26480697b3 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Fri, 25 Mar 2016 10:02:29 +0000 Subject: [PATCH] ResetStopWatch could not be used as a lifecycle action: the symptom is "The action has failed". SVN:trunk[3967] --- core/dbobject.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 35a079e165..140ebe042b 100644 --- a/core/dbobject.class.php +++ b/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)