diff --git a/htdocs/adherents/admin/public.php b/htdocs/adherents/admin/public.php index 740a5c97879..088f96b00c1 100644 --- a/htdocs/adherents/admin/public.php +++ b/htdocs/adherents/admin/public.php @@ -215,7 +215,12 @@ dol_fiche_end(); print '
'; //print $langs->trans('FollowingLinksArePublic').'
'; print img_picto('','object_globe.png').' '.$langs->trans('BlankSubscriptionForm').':
'; -print ''.DOL_MAIN_URL_ROOT.'/public/members/new.php'; +if ($conf->multicompany->enabled) { + $entity_qr='?entity='.$conf->entity; +} else { + $entity_qr=''; +} +print ''.DOL_MAIN_URL_ROOT.'/public/members/new.php'.$entity_qr.''; /* print '';