Skip to content
Snippets Groups Projects
Commit 67300f2a authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX choice of category was lost if an error occurs during creation

parent c0b3219c
No related branches found
No related tags found
No related merge requests found
......@@ -591,6 +591,7 @@ if ($action == 'create' && $user->rights->projet->creer)
// Categories
print '<tr><td>'.$langs->trans("Categories").'</td><td colspan="3">';
$cate_arbo = $form->select_all_categories(Categorie::TYPE_PROJECT, '', 'parent', 64, 0, 1);
$arrayselected=GETPOST('categories', 'array');
print $form->multiselectarray('categories', $cate_arbo, $arrayselected, '', 0, '', 0, '100%');
print "</td></tr>";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment