mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update myobject.class.php
This commit is contained in:
parent
49cd08bc87
commit
cea44d5b06
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user