mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
"fixed previous php5.2 fix, which caused readonlys set in the get_rows function not to work"
This commit is contained in:
parent
41f10cd5cc
commit
e844de99cd
@ -224,14 +224,9 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (is_array($readonlys))
|
if (!is_array($readonlys)) $readonlys = array();
|
||||||
{
|
$total = $value['total'] = $obj->$method($value,$value['rows'],$readonlys['rows']);
|
||||||
$total = $value['total'] = $obj->$method($value,$value['rows'],$readonlys['rows']);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$total = $value['total'] = $obj->$method($value,$value['rows'],$readonlys);
|
|
||||||
}
|
|
||||||
// allow the get_rows function to override / set sel_options
|
// allow the get_rows function to override / set sel_options
|
||||||
if (isset($value['rows']['sel_options']) && is_array($value['rows']['sel_options']))
|
if (isset($value['rows']['sel_options']) && is_array($value['rows']['sel_options']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user