#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 grigri):
Here's what it says in the docblock: {{{ * @param string $text String content that will appear inside the div element. * 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 `null`. -- Ticket URL: <https://trac.cakephp.org/ticket/5746#comment:3> 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 flexibility. --~--~---------~--~----~------------~-------~--~----~ 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 http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---