"fixed previous php5.2 fix, which caused readonlys set in the get_rows function not to work"

This commit is contained in:
Ralf Becker 2007-02-14 07:11:42 +00:00
parent 41f10cd5cc
commit e844de99cd

View File

@ -224,14 +224,9 @@
}
else
{
if (is_array($readonlys))
{
$total = $value['total'] = $obj->$method($value,$value['rows'],$readonlys['rows']);
}
else
{
$total = $value['total'] = $obj->$method($value,$value['rows'],$readonlys);
}
if (!is_array($readonlys)) $readonlys = array();
$total = $value['total'] = $obj->$method($value,$value['rows'],$readonlys['rows']);
// allow the get_rows function to override / set sel_options
if (isset($value['rows']['sel_options']) && is_array($value['rows']['sel_options']))
{