fixed error-message in the editor: method is no string

This commit is contained in:
Ralf Becker 2006-10-20 12:17:57 +00:00
parent a932cc99a6
commit 4719e35a43

View File

@ -229,7 +229,7 @@
unset($value['rows']['sel_options']); unset($value['rows']['sel_options']);
} }
} }
if ($value['start'] >= $total) if ($method && $total && $value['start'] >= $total)
{ {
$value['start'] = 0; $value['start'] = 0;
$total = $obj->$method($value,$value['rows'],$readonlys['rows']); $total = $obj->$method($value,$value['rows'],$readonlys['rows']);