From 0f4c59689d607d6b3d9b35ff33383b6afb4fbf16 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Tue, 30 Aug 2022 17:26:18 +0200 Subject: [PATCH] Fix updating member need functions2.lib.php for clean_url() --- htdocs/adherents/class/adherent.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 1f01f608fb0..0d7f6365fa4 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -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;