FIX form not closed.

This commit is contained in:
Laurent Destailleur 2019-09-17 12:08:33 +02:00
parent 8d79404914
commit d3b17f4f2d

View File

@ -48,7 +48,6 @@ $sortorder = GETPOST("sortorder", 'alpha');
$max=3;
/*
* View
*/
@ -76,12 +75,14 @@ else $titleall=$langs->trans("AllAllowedProjects").'<br><br>';
$morehtml='';
$morehtml.='<form name="projectform">';
$morehtml.='<form name="projectform" method="POST">';
$morehtml.='<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
$morehtml.='<SELECT name="search_project_user">';
$morehtml.='<option name="all" value="0"'.($mine?'':' selected').'>'.$titleall.'</option>';
$morehtml.='<option name="mine" value="'.$user->id.'"'.(($search_project_user == $user->id)?' selected':'').'>'.$langs->trans("ProjectsImContactFor").'</option>';
$morehtml.='</SELECT>';
$morehtml.='<input type="submit" class="button" name="refresh" value="'.$langs->trans("Refresh").'">';
$morehtml.='</form>';
print_barre_liste($title, 0, $_SERVER["PHP_SELF"], '', '', '', '', 0, -1, 'title_project.png', 0, $morehtml);