Fixed compatibility with Nette 2.2
Merge pull request #2 from enumag/patch-2

Fixed compatibility with Nette 2.2