Ok I get it nvm.

Mathieu Suen a écrit :
Hi,

In the method Zend_Form_Decorator_FormElements::render() there is some useless test:

_____
...
if ((!$form instanceof Zend_Form) && (!$form instanceof Zend_Form_DisplayGroup)) {
            return $content;
        }

$belongsTo      = ($form instanceof Zend_Form) ?
...
_____

I don't unsederstand why the "($form instanceof Zend_Form)"?
Can it be removed?

Thanks

- Mathieu Suen


Reply via email to