diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 76423116d62..ab4f14902f3 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -1862,7 +1862,7 @@ function restrictedArea($user, $features='societe', $objectid=0, $dbtablename='' { $sql=''; - $check = array('user','usergroup','produit','service','produit|service'); // Test on entity only (Objects with no link to company) + $check = array('banque','user','usergroup','produit','service','produit|service'); // Test on entity only (Objects with no link to company) $checksoc = array('societe'); // Test for societe object $checkother = array('contact'); // Test on entity and link to societe. Allowed if link is empty (Ex: contacts...). $checkproject = array('projet'); // Test for project object