nette/nette — pull request #721 by matej21 (2012-08-04 19:40:48+00:00)
Title: nette database fix

related to http://forum.nette.org/cs/11309-invalid-argument-supplied-for-foreach-pri-prochazeni-tabulkou-pres-related

this problem is fixed in hasek's branch ( https://github.com/hrach/nette/tree/f-database-refactoring ), but my commit fixs nette master branch... (sorry for my englišh)