firegento/firegento-germansetup — pull request #166 by bucha (2013-06-13 17:58:43+00:00)
Title: Fatal error in Agreements Block

I received the following fatal error and figured, this happens, when the agreements have not yet been set up in the project's configuration. In this case, the parent block returns an empty array, which can be handled by the frontend template but not by the GermanSetup's block code.

Fatal error: Call to a member function addFieldToFilter() on a non-object in /var/www/.../app/code/community/FireGento/GermanSetup/Block/Checkout/Agreements.php on line 52