[freeside-commits] freeside/httemplate/search/elements search-xml.html, 1.1.2.1, 1.1.2.2

Jeff Finucane,420,, jeff at wavetail.420.am
Wed Aug 25 09:04:56 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail.420.am:/tmp/cvs-serv18021/elements

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	search-xml.html 
Log Message:
stricter than docs suggest: no 0 values for partIA RT#9721

Index: search-xml.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/search-xml.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -w -d -r1.1.2.1 -r1.1.2.2
--- search-xml.html	22 May 2010 19:49:19 -0000	1.1.2.1
+++ search-xml.html	25 Aug 2010 16:04:54 -0000	1.1.2.2
@@ -14,6 +14,7 @@
 %     } else {
 %       $value = $row->$field();
 %     }
+%     next unless ($value || !$opt{xml_omit_empty});
 %
 <% &{$beginfield}($row, $i) %><% $value |h %><% &{$endfield}($row, $i) %>
 %



More information about the freeside-commits mailing list