ZF-8863: Zend_Validate_Db_Abstract __construct options

Description

in __construct() method:

$options = func_get_args(); $temp['table'] = array_shift($options); $temp['field'] = array_shift($options); if (!empty($options)) { $options['exclude'] = array_shift($options); } if (!empty($options)) { $options['adapter'] = array_shift($options); } $options = $temp;

I'm not exactly sure and i'm sorry i didn't test it, but i think that in this part of code 'exclude' and 'adapter' options should be in $temp array, something like this:

... if (!empty($options)) { $temp['exclude'] = array_shift($options); } if (!empty($options)) { $temp['adapter'] = array_shift($options); } $options = $temp;

Revision: 20410 And excuse me if this is not an issue

Comments

Closing as fixed. Thnx for your report