Zend Framework

lowercase switch with uppercase chars in incomming values in Zend_View helper class HeadMeta

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.2, 1.6.0RC1, 1.6.1
  • Fix Version/s: 1.7.0
  • Component/s: Zend_View
  • Labels:
    None

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':

Activity

Hide
Jon Whitcraft added a comment -

This has been fixed in SVN with r12019

Show
Jon Whitcraft added a comment - This has been fixed in SVN with r12019
Hide
Wil Sinclair added a comment -

Changing issues in preparation for the 1.7.0 release.

Show
Wil Sinclair added a comment - Changing issues in preparation for the 1.7.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: