ZF-8410: Zend_Layout sets options twice on first call to startMvc

Issue Type: Bug Created: 2009-11-27T09:19:07.000+0000 Last Updated: 2012-09-11T19:55:53.000+0000 Status: Closed Fix version(s): Reporter: Dolf Starreveld (dolfs) Assignee: Frank Brückner (frosch) Tags: - Zend_Layout

Related issues: - ZF-9754



When startMvc is first call (no instance yet), first the instance is created, passing in the options. The constructor then calls setOptions. Immediately below startMvc calls setOptions as well. No true harm done, but extra work for nothing. An "else" should be inserted between first and second if to correct this.


Posted by Pádraic Brady (padraic) on 2009-11-27T09:22:00.000+0000

Setting component to Zend_Layout.

Have you found an issue?

See the Overview section for more details.


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

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