FIX Can't edit tags of a user.
This commit is contained in:
parent
134243550b
commit
074e249e48
1 changed files with 1 additions and 1 deletions
|
|
@ -2857,7 +2857,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
if (isModEnabled('category') && $user->hasRight("categorie", "read")) {
|
||||
print '<tr><td>'.$form->editfieldkey('Categories', 'usercats', '', $object, 0).'</td>';
|
||||
print '<td>';
|
||||
if (!$permissiontoedit) {
|
||||
if ($permissiontoedit) {
|
||||
print $form->selectCategories(Categorie::TYPE_USER, 'usercats', $object);
|
||||
} else {
|
||||
print $form->showCategories($object->id, Categorie::TYPE_USER, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue