FIX(modulebuilder): validate after creation

This commit is contained in:
Benjamin Falière 2025-02-17 16:18:19 +01:00
parent 33d722c84f
commit ca85ad74b9

View file

@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023-2024 Frédéric France <frederic.france@free.fr>
* Copyright (C) ---Replace with your own copyright and developer email---
* Copyright (C) 2025 Benjamin Falière <benjamin@faliere.com>
*
* 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;
}