stricter than docs suggest: no 0 values for partIA RT#9721
[freeside.git] / httemplate / search / 477partVI_census.html
index db572bc..5f3039d 100755 (executable)
@@ -33,7 +33,7 @@
                     'upload',
                     'download',
                     'technology_code',
-                    sub { '' },  # doesn't really work
+                    sub { $cgi->param('_type') eq 'xml' ? '0' : '' },  # doesn't really work
                     'quantity',
                     sub { my $row = shift; sprintf "%.2f", $row->residential },
                   ],