spicywebau / craft-fieldlabels

Override Craft CMS field labels and instructions in the field layout designer
MIT License
123 stars 9 forks source link

Ensure $label exists when triggering afterSaveLabel event #38

Closed ttempleton closed 5 years ago

ttempleton commented 5 years ago

The afterSaveLabel event is supposed to send a FieldLabelModel $label, but $label was not set, causing an error.

Fixes #37.