diff --git a/htdocs/adherents/admin/website.php b/htdocs/adherents/admin/website.php
index d13b4a27c43..d4f2df25c0c 100644
--- a/htdocs/adherents/admin/website.php
+++ b/htdocs/adherents/admin/website.php
@@ -178,7 +178,7 @@ if (!empty($conf->global->MEMBER_ENABLE_PUBLIC)) {
print '
';
$listofval = array();
$listofval += $adht->liste_array();
- $forcetype = $conf->global->MEMBER_NEWFORM_FORCETYPE ?: -1;
+ $forcetype = empty($conf->global->MEMBER_NEWFORM_FORCETYPE) ? -1 : $conf->global->MEMBER_NEWFORM_FORCETYPE;
print $form->selectarray("MEMBER_NEWFORM_FORCETYPE", $listofval, $forcetype, count($listofval) > 1 ? 1 : 0);
print " | \n";
@@ -232,7 +232,7 @@ if (!empty($conf->global->MEMBER_ENABLE_PUBLIC)) {
print '
';
//print $langs->trans('FollowingLinksArePublic').'
';
print img_picto('', 'globe').' '.$langs->trans('BlankSubscriptionForm').':
';
- if ($conf->multicompany->enabled) {
+ if (!empty($conf->multicompany->enabled)) {
$entity_qr = '?entity='.$conf->entity;
} else {
$entity_qr = '';