cvs: smarty /libs/plugins function.html_table.php
[email protected] ("Messju Mohr") Sat, 08 Jul 2006 08:08:29 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvsmessju1152346109@cvsserver> |
messju Sat Jul 8 08:08:29 2006 UTC
Modified files:
/smarty/libs/plugins function.html_table.php
Log:
fix occasional notices on undefined variables
http://cvs.php.net/viewvc.cgi/smarty/libs/plugins/function.html_table.php?r1=1.12&r2=1.13&diff_format=u
Index: smarty/libs/plugins/function.html_table.php
diff -u smarty/libs/plugins/function.html_table.php:1.12 smarty/libs/plugins/function.html_table.php:1.13
--- smarty/libs/plugins/function.html_table.php:1.12 Sat Jul 8 07:57:07 2006
+++ smarty/libs/plugins/function.html_table.php Sat Jul 8 08:08:29 2006
@@ -48,8 +48,9 @@
{
$table_attr = 'border="1"';
$tr_attr = '';
+ $th_attr = '';
$td_attr = '';
- $cols_count = 3;
+ $cols = $cols_count = 3;
$rows = 3;
$trailpad = ' ';
$vdir = 'down';