Fix Blank page from thirparty to projects for users that has not permisson to do massactions
This commit is contained in:
parent
d51bf2b0ea
commit
87fdd4ea5f
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue