mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-26 09:51:36 +01:00
fixed bug when using arrays with tr_attr and td_attr in {html_table}
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user