Issues

ZF2-393: InArray can't receive user defined options

Issue Type: Bug Created: 2012-07-12T08:20:47.000+0000 Last Updated: 2012-07-12T12:31:22.000+0000 Status: Resolved Fix version(s): Reporter: Christoph Kleiner (blowfish) Assignee: Maks 3w (maks3w) Tags: - Zend\Validator

  • Bug
  • Error
  • ErrorMessages
  • Form
  • Formular
  • InArray
  • Messages
  • Validator

Related issues: Attachments:

Description

The constructor of the class InArray swallows its options. The options passed will not be submitted to the parent constructor.

<pre class="highlight">
parent::__construct();

must be

<pre class="highlight">
parent::__construct($options);

Comments

Posted by Maks 3w (maks3w) on 2012-07-12T11:06:45.000+0000

Open Pull Request https://github.com/zendframework/zf2/pull/1858

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