eT2 needs a name not a template object

This commit is contained in:
Ralf Becker 2015-02-06 18:03:14 +00:00
parent 28d6023d77
commit faf29083e6

View File

@ -394,7 +394,7 @@ class infolog_ui
$tpl = new etemplate_new;
if ($tpl->read('infolog.index.rows.'.$query['col_filter']['info_type']))
{
$query['template'] =& $tpl;
$query['template'] = $tpl->name;
$query['custom_fields'] = true; // read the custom fields too
}
//echo "<p align=right>template ='".'infolog.index.rows.'.$query['col_filter']['info_type']."'".(!$query['template'] ? ' not' : '')." found</p>\n";