cvs: smarty / NEWS /libs/plugins function.html_table.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1074516480@cvsserver>
messju		Mon Jan 19 07:48:00 2004 EDT

  Modified files:              
    /smarty	NEWS 
    /smarty/libs/plugins	function.html_table.php 
  Log:
  fixed bug when using arrays with tr_attr and td_attr in {html_table}
  
  
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.428&r2=1.429&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.428 smarty/NEWS:1.429
--- smarty/NEWS:1.428	Fri Jan 16 17:14:51 2004
+++ smarty/NEWS	Mon Jan 19 07:47:59 2004
@@ -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)
 
 Version 2.6.1 (Jan 16, 2004)
http://cvs.php.net/diff.php/smarty/libs/plugins/function.html_table.php?r1=1.7&r2=1.8&ty=u
Index: smarty/libs/plugins/function.html_table.php
diff -u smarty/libs/plugins/function.html_table.php:1.7 smarty/libs/plugins/function.html_table.php:1.8
--- smarty/libs/plugins/function.html_table.php:1.7	Fri Dec 19 12:20:19 2003
+++ smarty/libs/plugins/function.html_table.php	Mon Jan 19 07:47:59 2004
@@ -70,13 +70,16 @@
                 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;
         }
     }
 

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.