[freeside-commits] freeside/httemplate/misc maestro-customer_status-test.html, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Mon Jul 26 18:57:07 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv9485

Modified Files:
	maestro-customer_status-test.html 
Log Message:
better pretty-printing for array values

Index: maestro-customer_status-test.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/maestro-customer_status-test.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- maestro-customer_status-test.html	27 Jul 2010 01:48:23 -0000	1.1
+++ maestro-customer_status-test.html	27 Jul 2010 01:57:05 -0000	1.2
@@ -7,6 +7,8 @@
 
 <table style="border:1px solid #000000">
 % foreach my $key (keys %$return) {
+%   my $value = $return->{$key};
+%   $value = join(', ', @$value) if ref($value) eq 'ARRAY';
   <TR>
     <TD ALIGN="right"><% $key %>:</TD>
     <TD><B><% $return->{$key} %></B></TD>



More information about the freeside-commits mailing list