From a64223f73dda36e75cdc431b983b5d521475ce71 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sat, 29 Aug 2020 12:44:17 +0200 Subject: [PATCH] Update api_members.class.php --- htdocs/adherents/class/api_members.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/adherents/class/api_members.class.php b/htdocs/adherents/class/api_members.class.php index d58a5840ad8..990e21dd08b 100644 --- a/htdocs/adherents/class/api_members.class.php +++ b/htdocs/adherents/class/api_members.class.php @@ -92,7 +92,7 @@ class Members extends DolibarrApi * @throws RestException 401 * @throws RestException 404 */ - function getByThirdparty($thirdparty) + public function getByThirdparty($thirdparty) { if (! DolibarrApiAccess::$user->rights->adherent->lire) { throw new RestException(401); @@ -125,7 +125,7 @@ class Members extends DolibarrApi * @throws RestException 401 * @throws RestException 404 */ - function getByThirdpartyEmail($email) + public function getByThirdpartyEmail($email) { if (! DolibarrApiAccess::$user->rights->adherent->lire) { throw new RestException(401); @@ -164,7 +164,7 @@ class Members extends DolibarrApi * @throws RestException 401 * @throws RestException 404 */ - function getByThirdpartyBarcode($barcode) + public function getByThirdpartyBarcode($barcode) { if (! DolibarrApiAccess::$user->rights->adherent->lire) { throw new RestException(401);