From 084f29883662461c3fb173ae4e0627ba375a3a54 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 21 Dec 2021 14:34:47 +0100 Subject: [PATCH] Fix regression. The entity for bank is in table itself not into a parent --- htdocs/core/lib/security.lib.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/htdocs/core/lib/security.lib.php b/htdocs/core/lib/security.lib.php index 57ed0791300..25409abd10c 100644 --- a/htdocs/core/lib/security.lib.php +++ b/htdocs/core/lib/security.lib.php @@ -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