What steps will reproduce the problem?
1. Set 'setOnAddForce' using 'new Zend_Db_Expr('NOW()')' expression.
[$form->setOnAddForce(array('created_at' => new Zend_Db_Expr('NOW()')));]
What is the expected output? What do you see instead?
I receive this warning:
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER
values! in C:\wamp\www\dev\library\Bvb\Grid\Deploy\Table.php on line 2708
Please insert the appropriate values;
Zend Framework version: 1.11.2
ZFDatgrid Version (Bvb_Grid::getVersion()): r1613
Operating system: Win XP
PHP Version: 5.3.0
Database Server and version: 5.1.36
Please provide any additional information below.
Besides receiving this error, I get what I want (record on DB with correct
data). I also can get the current datetime and pass the value to ZFDatagrid.
This is just to report.
IM
Original issue reported on code.google.com by ivomonte...@gmail.com on 1 Feb 2011 at 11:27
Original issue reported on code.google.com by
ivomonte...@gmail.com
on 1 Feb 2011 at 11:27