Update library/Zend/Form/View/Helper/FormRow.php

In FormRow::__invoke(), setRenderErrors is always set to true.

I was trying to disable inline error messages in the form, but still use the FormCollection helper. I tried this:

$formRow = $this->getServiceLocator()->get('viewhelpermanager')->get('formrow');
$formRow->setRenderErrors(false);

$formCollection = $this->getServiceLocator()->get('viewhelpermanager')->get('formcollection');
$formCollection->setElementHelper($formRow);
$formHtml = $formCollection->render($form);

But renderErrors was always set to true again by __invoke();

The suggested fix didn't break any unit tests?