diff --git a/htdocs/modulebuilder/template/class/myobject.class.php b/htdocs/modulebuilder/template/class/myobject.class.php index 500cdcaa476..0d8b90f7962 100644 --- a/htdocs/modulebuilder/template/class/myobject.class.php +++ b/htdocs/modulebuilder/template/class/myobject.class.php @@ -1,7 +1,7 @@ * Copyright (C) 2023-2024 Frédéric France - * Copyright (C) ---Replace with your own copyright and developer email--- + * Copyright (C) 2025 Benjamin Falière * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -286,7 +286,7 @@ class MyObject extends CommonObject // uncomment lines below if you want to validate object after creation // $this->fetch($this->id); // needed to retrieve some fields (ie date_creation for masked ref) - // $resultcreate = $this->validate($user, $notrigger); + // $resultvalidate= $this->validate($user, $notrigger); return $resultcreate; }