mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:23 +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);
|
array_unshift($value['rows'],false);
|
||||||
}
|
}
|
||||||
list($template,$options) = explode(',',$cell['size']);
|
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;
|
$value['template'] = $template;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user