Fix warning

This commit is contained in:
Laurent Destailleur 2022-12-30 19:40:16 +01:00
parent 8850f56c01
commit 41c3d9da05

View File

@ -367,7 +367,7 @@ function restrictedArea(User $user, $features, $object = 0, $tableandshare = '',
if ($features == 'subscription') {
$features = 'adherent';
$feature2 = 'cotisation';
};
}
if ($features == 'websitepage') {
$features = 'website';
$tableandshare = 'website_page';