diff --git a/htdocs/payplugdolicloud/core/modules/modPayplugDolicloud.class.php b/htdocs/payplugdolicloud/core/modules/modPayplugDolicloud.class.php index c733f1524..70bbec62c 100644 --- a/htdocs/payplugdolicloud/core/modules/modPayplugDolicloud.class.php +++ b/htdocs/payplugdolicloud/core/modules/modPayplugDolicloud.class.php @@ -465,7 +465,7 @@ public function __construct($db) */ public function init($options = '') { - global $conf, $langs; + global $conf, $langs, $mysoc, $user; // Create bank account Payplug if not exists if (!getDolGlobalInt('PAYPLUG_DOLICLOUD_BANK_ACCOUNT_FOR_PAYMENTS')) {