diff options
| author | jeff <jeff> | 2010-08-25 07:34:26 +0000 |
|---|---|---|
| committer | jeff <jeff> | 2010-08-25 07:34:26 +0000 |
| commit | b731fd6e97ffc88d9ab7826a1d0ae5ccf1ba3d6c (patch) | |
| tree | 7a90fa421ab7ee934d318b06e326ae263b95b999 /httemplate/search/elements | |
| parent | 8b69219cd572abe6c2f2873d3a5306f8ae513fc9 (diff) | |
stricter than docs suggest: no 0 values for partIA RT#9721
Diffstat (limited to 'httemplate/search/elements')
| -rw-r--r-- | httemplate/search/elements/search-xml.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/search/elements/search-xml.html b/httemplate/search/elements/search-xml.html index 9f5e9b6c1..50b191610 100644 --- a/httemplate/search/elements/search-xml.html +++ b/httemplate/search/elements/search-xml.html @@ -14,6 +14,7 @@ % } else { % $value = $row->$field(); % } +% next unless ($value || !$opt{xml_omit_empty}); % <% &{$beginfield}($row, $i) %><% $value |h %><% &{$endfield}($row, $i) %> % |
