madcorp / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

commit #1879 breaks Ajax responses because of PHP warning #830

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If $this->_sessionParams->filters is not set then code:

$diffSearchFields = array_diff(array_keys($this->_sessionParams->filters), 
array_keys($filters));

return PHP warning:

Warning: array_keys() expects parameter 1 to be array, null given in 
/home/k2s/php/informa/code/library/Bvb/Grid.php on line 1224

which breaks AJAX response in Bvb grid

Original issue reported on code.google.com by martin.m...@gmail.com on 29 Feb 2012 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by martin.m...@gmail.com on 29 Feb 2012 at 11:46