Fix updating member

need functions2.lib.php for clean_url()
This commit is contained in:
ptibogxiv 2022-08-30 17:26:18 +02:00 committed by Laurent Destailleur
parent db6d345e54
commit 30475a8ce6

View File

@ -655,6 +655,8 @@ class Adherent extends CommonObject
public function update($user, $notrigger = 0, $nosyncuser = 0, $nosyncuserpass = 0, $nosyncthirdparty = 0, $action = 'update')
{
global $conf, $langs, $hookmanager;
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';