mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed bug when using arrays with tr_attr and td_attr in {html_table}
This commit is contained in:
1
NEWS
1
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)
|
- add unit testing to cvs core (Monte)
|
||||||
|
|
||||||
Version 2.6.1 (Jan 16, 2004)
|
Version 2.6.1 (Jan 16, 2004)
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user