#5746: HTML Helper - div broken
    Reporter:  JadB     |         Owner:          
        Type:  Bug      |        Status:  reopened
    Priority:  Medium   |     Milestone:  1.2.x.x 
   Component:  Helpers  |       Version:  RC3     
    Severity:  Normal   |    Resolution:          
    Keywords:  html     |   Php_version:  n/a     
Cake_version:  7692     |  
Comment (by dho):

 Replying to [comment:3 grigri]:
 > Here's what it says in the docblock:
 > {{{
 >  * @param string $text String content that will appear inside the div
 >  *                    If null, only a start tag will be printed
 > }}}
 > JadB is passing `null` for the `$text` parameter, so it only prints an
 open tag. If you want an empty (but closed) tag, use an empty string, not

 You are right, I overlooked that hint. But I still think it is a bug, as
 you don't expect that the method creates just a start tag if you don't
 pass a $text parameter. It's not intuitive.

Ticket URL: <https://trac.cakephp.org/ticket/5746#comment:4>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to