Hi Martin,

You can add second parameter with value false in
Zend_Input_Filter call instead changing order.

This code should work properly:

$iFilterP = new Zend_Input_Filter($_POST, false);
$params   = $this->_getAllParams();

Greetings,
Wojciech Naruniec
http://wojciech.naruniec.info/

On 18.12.2006, at 14:47 PM, Martin Milesich wrote:

Hi all,

just to inform you that when you have in action things in this order

$iFilterP = new Zend_Input_Filter($_POST);
$params   = $this->_getAllParams();

you will get an Unsupported operand type in
library\Zend\Controller\Request\Http.php on line 601

Just switch the order and everything will be ok.

Martin Milesich

PS: ZF svn2418, PHP 5.2.0 Win XP

Reply via email to