Update myobject.class.php

This commit is contained in:
Laurent Destailleur 2025-02-18 20:41:53 +01:00 committed by GitHub
parent 49cd08bc87
commit cea44d5b06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,7 +287,8 @@ class MyObject extends CommonObject
// uncomment lines below if you want to validate object after creation
// if ($result > 0) {
// $this->fetch($this->id); // needed to retrieve some fields (ie date_creation for masked ref)
// $result= $this->validate($user, $notrigger);
// $resultupdate = $this->validate($user, $notrigger);
// if ($resultupdate < 0) { return $resultupdate; }
// }
return $result;