Skip to content

Commit

Permalink
fix(massiveAction): Fixed bug preventing the addition of tags to obje…
Browse files Browse the repository at this point in the history
…cts without creation rights
  • Loading branch information
MyvTsv committed Dec 4, 2024
1 parent bd9f004 commit a3edd4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/tag.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,7 @@ public static function showTagDropdown($params = [])
}

$readOnly = !$tag::canUpdate()
|| ($obj->isNewItem() && !$obj->canCreateItem())
|| (!$obj->isNewItem() && !$obj->canUpdateItem())
|| !$obj->canUpdateItem()
;

// call select2 lib for this input
Expand Down

0 comments on commit a3edd4b

Please sign in to comment.