mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
silently fixing 0 based array
This commit is contained in:
parent
450de4d93f
commit
6874870274
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user