]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 604107: The link to delete the value 0 of custom fields is broken
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 15 Oct 2010 01:00:26 +0000 (03:00 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 15 Oct 2010 01:00:26 +0000 (03:00 +0200)
r/a=mkanat

template/en/default/admin/table.html.tmpl

index 706e7d75a23a7e0fed195cac95b7926f071e9d2b..40c66f109005cc39958bd5c46ea27dd482c4fd2e 100644 (file)
           [% link_uri = contentlink %]
           [% WHILE link_uri.search('%%(.+?)%%')%]
             [% FOREACH m = link_uri.match('%%(.+?)%%') %]
-              [% IF row.$m %]
+              [% IF row.$m.defined %]
                 [% replacement_value = FILTER uri; row.$m; END %]
               [% ELSE %]
                 [% replacement_value = "" %]