ZF-3371: Label decorator's setTag() should cast empty values as null

Issue Type: Bug Created: 2008-06-02T23:10:16.000+0000 Last Updated: 2008-07-24T09:23:09.000+0000 Status: Resolved Fix version(s): - 1.5.3 (28/Jul/08)

Reporter: Matthew Weier O'Phinney (matthew) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:


Currently, Zend_Form_Decorator_Label::setTag() casts all values passed to string. However, empty values, such as false, null, or '' should cast the value to null, thus allowing the ability to disable the tag surrounding a label.


Posted by Matthew Weier O'Phinney (matthew) on 2008-07-24T09:23:09.000+0000

Fixed in trunk and 1.5 and 1.6 release branches.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.