From f1a68d9272448f60d4f0417dd342a3b3d3c722d7 Mon Sep 17 00:00:00 2001
From: UT from dolibit <45215329+dolibit-ut@users.noreply.github.com>
Date: Fri, 9 Sep 2022 10:36:08 +0200
Subject: [PATCH] Update modZapier.class.php
IMHO in this case is *require_once* instead of *include_one* more correct
---
htdocs/core/modules/modZapier.class.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/htdocs/core/modules/modZapier.class.php b/htdocs/core/modules/modZapier.class.php
index c92de9d5909..b0a1daf642e 100644
--- a/htdocs/core/modules/modZapier.class.php
+++ b/htdocs/core/modules/modZapier.class.php
@@ -13,8 +13,9 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
+
/**
* \defgroup zapier Module Zapier
* \brief Zapier module descriptor.
@@ -23,7 +24,8 @@
* \ingroup zapier
* \brief Description and activation file for the module Zapier
*/
-include_once DOL_DOCUMENT_ROOT.'/core/modules/DolibarrModules.class.php';
+
+require_once DOL_DOCUMENT_ROOT.'/core/modules/DolibarrModules.class.php';
/**
* Description and activation class for module Zapier