Fix regression. The entity for bank is in table itself not into a parent
This commit is contained in:
parent
13b17fa0da
commit
084f298836
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user