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

View File

@@ -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;
}
}