silently fixing 0 based array

This commit is contained in:
Ralf Becker 2005-02-27 21:32:06 +00:00
parent 450de4d93f
commit 6874870274

View File

@ -161,6 +161,10 @@
$value['start'] = 0;
$total = $obj->$method($value,$value['rows'],$readonlys['rows']);
}
if (is_array($value['rows'][0])) // fixed 0 based arrays
{
array_unshift($value['rows'],false);
}
list($template,$options) = explode(',',$cell['size']);
if ($template) // template name can be supplied either in $value['template'] or the options-field
{