Debug v20

This commit is contained in:
Laurent Destailleur
2024-05-06 10:00:18 +02:00
parent 335d56c479
commit 55d2f3d9fc
3 changed files with 20 additions and 20 deletions

View File

@@ -1269,7 +1269,7 @@ if ($action == 'create' || $action == 'adduserldap') {
// Categories
if (isModEnabled('category') && $user->hasRight("categorie", "read")) {
print '<tr><td>'.$form->editfieldkey('Categories', 'usercats', '', $object, 0).'</td><td>';
$cate_arbo = $form->select_all_categories('user', null, 'parent', null, null, 1);
$cate_arbo = $form->select_all_categories('user', '', 'parent', 0, 0, 3);
print img_picto('', 'category', 'class="pictofixedwidth"').$form->multiselectarray('usercats', $cate_arbo, GETPOST('usercats', 'array'), 0, 0, 'maxwdith300 widthcentpercentminusx', 0, '90%');
print "</td></tr>";
}