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 GitHub
parent 147207b4e1
commit 0f4c59689d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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';
$nbrowsaffected = 0;
$error = 0;