Issues

ZF-6555: Variable $attrstring misspelled in HeadScript.php

Issue Type: Bug Created: 2009-05-06T03:33:11.000+0000 Last Updated: 2009-05-06T05:22:01.000+0000 Status: Resolved Fix version(s): Reporter: Andris Causs (cypher) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:

Description

The variable $attrstring is misspelled on line 412 (I'm using v1.8 but I think the same line was in the previous versions). It should be $attrString instead (capiral S).

// search for // $html = $indent . '

As a result of this misspelling a notice is displayed: Notice: Undefined variable: attrstring in /home/securedev/library/Zend/View/Helper/HeadScript.php on line 412

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2009-05-06T05:21:51.000+0000

I've looked in the source on both the 1.8 release branch and on the trunk, and it's correct: $attrString. The variable appears three times, on lines 396 (where it's initialized), 407, and 412. In each case, it appears with the exact same spelling and case.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts