diff options
| author | jeff <jeff> | 2010-08-25 16:04:54 +0000 |
|---|---|---|
| committer | jeff <jeff> | 2010-08-25 16:04:54 +0000 |
| commit | 86f48cd03787ab34fffc47c6060027818e6b86b0 (patch) | |
| tree | d24e5bc0c2b99112cda05a5b5bda45df70d9a844 /httemplate/search/elements | |
| parent | aaae2218087232ee04c918f5e4c9ce746e338770 (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) %> % |
