Merge pull request #22938 from Daviid-P/15.0

FIX Broken Permissions check, $object is null.
This commit is contained in:
Laurent Destailleur
2022-11-23 12:22:21 +01:00
committed by GitHub

View File

@@ -61,7 +61,7 @@ if ($sortfield == "") {
$sortfield = "pl.fk_soc";
}
$type = $object->type;
if ($type == 'bank-transfer') {
$result = restrictedArea($user, 'paymentbybanktransfer', '', '', '');
} else {