From f4a44ced803ab2b46ec5496ff6400831a9d71ad4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 4 Aug 2017 11:25:10 +0200 Subject: [PATCH] Update module template --- htdocs/modulebuilder/template/class/myobject.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/modulebuilder/template/class/myobject.class.php b/htdocs/modulebuilder/template/class/myobject.class.php index a93d2fa6565..49aa42ad96d 100644 --- a/htdocs/modulebuilder/template/class/myobject.class.php +++ b/htdocs/modulebuilder/template/class/myobject.class.php @@ -443,8 +443,12 @@ class MyObject extends CommonObject { global $conf, $langs; + $this->output = ''; + $this->error=''; + dol_syslog(__METHOD__, LOG_DEBUG); + // ... return 0; }