From 4d32529e66352f88f59e5bd90a9ff4f2431cd499 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Mon, 21 Dec 2020 15:25:15 +0100 Subject: [PATCH] include --- htdocs/societe/class/api_thirdparties.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/societe/class/api_thirdparties.class.php b/htdocs/societe/class/api_thirdparties.class.php index b4ae02cd532..81a1c167a02 100644 --- a/htdocs/societe/class/api_thirdparties.class.php +++ b/htdocs/societe/class/api_thirdparties.class.php @@ -20,8 +20,6 @@ use Luracast\Restler\RestException; -require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; - /** * API class for thirdparties * @@ -52,6 +50,7 @@ class Thirdparties extends DolibarrApi global $db, $conf; $this->db = $db; + require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/societeaccount.class.php'; require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/companybankaccount.class.php';