fixed bug when using arrays with tr_attr and td_attr in {html_table}

This commit is contained in:
messju
2004-01-19 12:47:59 +00:00
parent 95ac71b716
commit 07b151bf3e
2 changed files with 6 additions and 2 deletions

1
NEWS
View File

@@ -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) - add unit testing to cvs core (Monte)
Version 2.6.1 (Jan 16, 2004) Version 2.6.1 (Jan 16, 2004)

View File

@@ -70,13 +70,16 @@ function smarty_function_html_table($params, &$smarty)
break; break;
case 'table_attr': case 'table_attr':
case 'tr_attr':
case 'td_attr':
case 'trailpad': case 'trailpad':
case 'hdir': case 'hdir':
case 'vdir': case 'vdir':
$$_key = (string)$_value; $$_key = (string)$_value;
break; break;
case 'tr_attr':
case 'td_attr':
$$_key = $_value;
break;
} }
} }