From b68f354f23863772f5594850c2e4891377e05180 Mon Sep 17 00:00:00 2001 From: messju Date: Sat, 8 Jul 2006 08:08:29 +0000 Subject: [PATCH] fix occasional notices on undefined variables --- libs/plugins/function.html_table.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/plugins/function.html_table.php b/libs/plugins/function.html_table.php index bdb222ba..14622be6 100644 --- a/libs/plugins/function.html_table.php +++ b/libs/plugins/function.html_table.php @@ -48,8 +48,9 @@ function smarty_function_html_table($params, &$smarty) { $table_attr = 'border="1"'; $tr_attr = ''; + $th_attr = ''; $td_attr = ''; - $cols_count = 3; + $cols = $cols_count = 3; $rows = 3; $trailpad = ' '; $vdir = 'down';