ZF-11914: Error on line 1623 of Form.php missing =

Issue Type: Bug Created: 2011-11-26T23:40:09.000+0000 Last Updated: 2011-11-27T00:08:56.000+0000 Status: Closed Fix version(s): Reporter: Fernando Andre (andref) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Form

  • zend_form
  • zend_form_sub

Related issues: Attachments:


Found an error on line 1623 of Zend_Form

You can read on that line: if (($oldName = $form->getName()) &&

When you should be reading: if (($oldName == $form->getName()) &&

So missing "=" for it to compare the values.


Posted by Fernando Andre (andref) on 2011-11-26T23:49:41.000+0000

Sorry, after all the coder was just doing an assign of the variable inside the if statement.

Have you found an issue?

See the Overview section for more details.


© 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.