Fix regression. The entity for bank is in table itself not into a parent

This commit is contained in:
Laurent Destailleur 2021-12-21 14:34:47 +01:00
parent 13b17fa0da
commit 084f298836

View File

@ -227,9 +227,6 @@ function restrictedArea($user, $features, $objectid = 0, $tableandshare = '', $f
if ($features == 'product') {
$features = 'produit';
}
if ($features == 'banque') {
$parentfortableentity = 'fk_account@bank_account';
}
// Get more permissions checks from hooks