lajax / yii2-translate-manager

Translation Manager
MIT License
227 stars 90 forks source link

fix: translated attribute change is not detected in loaded records. #60

Closed moltam closed 8 years ago

moltam commented 8 years ago

The new TranslateBehavior does not update changed the attributes in loaded models.

I think the comparator logic found in isAttributeChanged() needs to be inverted.

This PR fixes this.

lajax commented 8 years ago

Thanks!