From 26107fab209d04060eafce42879398c8fc71a7a8 Mon Sep 17 00:00:00 2001 From: Faustin Date: Tue, 8 Nov 2022 15:02:51 +0100 Subject: [PATCH] quote issue --- htdocs/projet/list.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 007934cde40..dd184bb1f3d 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -358,6 +358,7 @@ if (empty($reshook)) { $form = new Form($db); $formcompany = new FormCompany($db); + $companystatic = new Societe($db); $taskstatic = new Task($db); $formother = new FormOther($db); @@ -813,7 +814,7 @@ if ($user->rights->projet->supprimer) { if (isModEnabled('category') && $user->rights->projet->creer) { $arrayofmassactions['preaffecttag'] = img_picto('', 'category', 'class="pictofixedwidth"').$langs->trans("AffectTag"); } -if (in_array($massaction, array('presend', 'predelete', 'preaffecttag', "preaffectuser"))) { +if (in_array($massaction, array('presend', 'predelete', 'preaffecttag', 'preaffectuser'))) { $arrayofmassactions = array(); }