From 074e249e48ce35081ec7a76bacd60babf0852f89 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 18 Sep 2025 22:13:53 +0200 Subject: [PATCH] FIX Can't edit tags of a user. --- htdocs/user/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 07bd2b59622..39c317dfd60 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -2857,7 +2857,7 @@ if ($action == 'create' || $action == 'adduserldap') { if (isModEnabled('category') && $user->hasRight("categorie", "read")) { print ''.$form->editfieldkey('Categories', 'usercats', '', $object, 0).''; print ''; - if (!$permissiontoedit) { + if ($permissiontoedit) { print $form->selectCategories(Categorie::TYPE_USER, 'usercats', $object); } else { print $form->showCategories($object->id, Categorie::TYPE_USER, 1);