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

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

parent 106d7418
No related branches found
No related tags found
No related merge requests found
......@@ -595,6 +595,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