mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix Blank page from thirparty to projects for users that has not permisson to do massactions
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user