dev/core#4740 - Fix missing tagsets when label doesn't match name
authorcolemanw <coleman@civicrm.org>
Wed, 15 Nov 2023 01:10:38 +0000 (20:10 -0500)
committercolemanw <coleman@civicrm.org>
Wed, 15 Nov 2023 01:14:28 +0000 (20:14 -0500)
commitd601762e55a7b5a8660b099c4a894489dcb12093
tree2f96bd5e6a37d1e9596ec266ea064ef37a70ea2a
parent5a7b6fa01e10d2f0acf28a9f9f7c53545ba84d4e
dev/core#4740 - Fix missing tagsets when label doesn't match name

CRM_Core_Form_Tag::buildQuickForm was previously being passed an array of [id => name]
but it was wastefully ignoring the passed ids and looking it up from the name.

Now due to bcf668d is being passed an array of [id => label] which is all it needs,
just had to remove the wasteful id lookup when it's already there.
CRM/Core/Form/Tag.php