eT2 needs a name not a template object

This commit is contained in:
Ralf Becker 2015-02-06 18:02:36 +00:00
parent 730615ce4e
commit c28dac7206

View File

@ -394,7 +394,7 @@ class infolog_ui
$tpl = new etemplate_new; $tpl = new etemplate_new;
if ($tpl->read('infolog.index.rows.'.$query['col_filter']['info_type'])) 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 $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"; //echo "<p align=right>template ='".'infolog.index.rows.'.$query['col_filter']['info_type']."'".(!$query['template'] ? ' not' : '')." found</p>\n";