]> 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:05:25 +0000 (03:05 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 15 Oct 2010 01:05:25 +0000 (03:05 +0200)
r/a=mkanat

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

index ce5e985cb3ec22f72158e7e49547c97a0ac500e5..c7177a66fef5de6b6de6da9548638890828c1bc5 100644 (file)
           [% link_uri = contentlink %]
           [% WHILE link_uri.search('%%(.+?)%%')%]
             [% FOREACH m = link_uri.match('%%(.+?)%%') %]
-              [% IF row.$m %]
+              [% IF row.$m.defined %]
                 [% replacement_value = FILTER url_quote; row.$m; END %]
               [% ELSE %]
                 [% replacement_value = "" %]