Kdyby / Translation

Integration of Symfony/Translation into Nette Framework
https://packagist.org/packages/kdyby/translation
Other
88 stars 84 forks source link

Fixed bug with default value after shifting parameters in translate function #49

Closed maral closed 10 years ago

maral commented 10 years ago

After last commit it stopped working. In translate function, when $count parameter was ommited and other paramterers shifted, when domain wasn't set, it passed it wrong default value, array() instead of NULL which resulted in some Exception only god knows where... This helped and I think all other parameters are okay.

fprochazka commented 10 years ago

I've fixed it differently :) But thanks for reporting!