diff --git a/NEWS b/NEWS index f31fdcbc..f32841f6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ + - fix bug when using arrays with tr_attr and td_attr in {html_table} (messju) - add unit testing to cvs core (Monte) Version 2.6.1 (Jan 16, 2004) diff --git a/libs/plugins/function.html_table.php b/libs/plugins/function.html_table.php index 3ebbf29a..c6693d88 100644 --- a/libs/plugins/function.html_table.php +++ b/libs/plugins/function.html_table.php @@ -70,13 +70,16 @@ function smarty_function_html_table($params, &$smarty) break; case 'table_attr': - case 'tr_attr': - case 'td_attr': case 'trailpad': case 'hdir': case 'vdir': $$_key = (string)$_value; break; + + case 'tr_attr': + case 'td_attr': + $$_key = $_value; + break; } }