2
0
forked from Wavyzz/dolibarr

Can set status of a websitepage

This commit is contained in:
Laurent Destailleur
2020-05-14 18:14:55 +02:00
parent 215cf9e6f8
commit 1bf677f537
4 changed files with 26 additions and 5 deletions

View File

@@ -192,6 +192,7 @@ function restrictedArea($user, $features, $objectid = 0, $tableandshare = '', $f
if ($features == 'mo') $features = 'mrp';
if ($features == 'member') $features = 'adherent';
if ($features == 'subscription') { $features = 'adherent'; $feature2 = 'cotisation'; };
if ($features == 'websitepage') $features = 'website';
// Get more permissions checks from hooks
$parameters = array('features'=>$features, 'objectid'=>$objectid, 'idtype'=>$dbt_select);