[Solar-svn] Revision 3148
pmjones at solarphp.com
pmjones at solarphp.com
Sat May 3 16:37:16 CDT 2008
fix to my change in clay's code -- i really should just leave well-enough alone ;-)
Modified: trunk/Solar/View/Helper/Attribs.php
===================================================================
--- trunk/Solar/View/Helper/Attribs.php 2008-05-03 20:53:54 UTC (rev 3147)
+++ trunk/Solar/View/Helper/Attribs.php 2008-05-03 21:37:16 UTC (rev 3148)
@@ -44,7 +44,7 @@
// add the attribute, but only if really empty.
// using the string cast and strict equality to make sure that
// a string zero is not counted as an empty value.
- if ((string) $val === '') {
+ if ((string) $val !== '') {
$xhtml .= ' ' . $this->_view->escape($key)
. '="' . $this->_view->escape($val) . '"';
}
More information about the Solar-svn
mailing list