Fixed compatibility with Nette 2.1
Merge pull request #1 from enumag/patch-1

Fixed compatibility with Nette 2.1