+compatibility with Nette 2.2

Signed-off-by: sinacek <sinacek@gmail.com>