import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -25,7 +25,7 @@
* @package Zend_Form
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: DisplayGroup.php 11315 2008-09-09 19:14:31Z matthew $
* @version $Id: DisplayGroup.php 12786 2008-11-23 14:15:48Z matthew $
*/
class Zend_Form_DisplayGroup implements Iterator,Countable
{
@ -645,8 +645,7 @@ class Zend_Form_DisplayGroup implements Iterator,Countable
if (null === $options) {
$decorator = new $class;
} else {
$r = new ReflectionClass($class);
$decorator = $r->newInstance($options);
$decorator = new $class($options);
}
return $decorator;