FIX #28505 Blank page from thirparty to projects (#31637)

Fix Blank page from thirparty to projects for users that has not permisson to do massactions
This commit is contained in:
PsyCrow 2024-10-30 14:09:48 -06:00 committed by GitHub
parent d51bf2b0ea
commit 87fdd4ea5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,6 +85,7 @@ if ($reshook < 0) {
$parameters = array('id'=>$socid);
// List of mass actions available
$arrayofmassactions = array();
if (!empty($permissiontodelete)) {
$arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete");
}