craftcms / store-hours

Manage business hours with Craft CMS.
https://plugins.craftcms.com/store-hours
MIT License
61 stars 15 forks source link

Fixes PHP errors when field is used on existing entries #56

Closed carlcs closed 7 months ago

carlcs commented 7 months ago

Description

I added a new Store Hours field to an entry type which was already being used by entries. ksort in Field::normalizeValue() was throwing an error.

Related issues

n/a

brandonkelly commented 7 months ago

Missed this PR, and already tagged 4.0.1 with a fix (via 5af8c5e5becf47f9be52af00f57e26c68d2b96de). Thanks anyway!