ZF-3780: lowercase switch with uppercase chars in incomming values in Zend_View helper class HeadMeta
Description
In the helper class HeadMeta a switch looks for lowercase options, but becomes some uppercase chars.
===================================================================
--- HeadMeta.php (revision 9)
+++ HeadMeta.php (working copy)
@@ -78,7 +78,7 @@
if ((null !== $content) && (null !== $keyValue)) {
$item = $this->createData($keyType, $keyValue, $content, $modifiers);
$action = strtolower($placement);
- switch ($placement) {
+ switch ($action) {
case 'append':
case 'prepend':
case 'set':
Comments
Posted by Jon Whitcraft (sidhighwind) on 2008-10-19T11:49:56.000+0000
This has been fixed in SVN with r12019
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:07.000+0000
Changing issues in preparation for the 1.7.0 release.