mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
giving the template name in the content precedence over the one supplied in the template
This commit is contained in:
parent
b4b6f62489
commit
fcfa0f81d5
@ -238,7 +238,7 @@
|
||||
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
|
||||
if (!$value['template'] && $template) // template name can be supplied either in $value['template'] or the options-field
|
||||
{
|
||||
$value['template'] = $template;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user