From: Frank Lichtenheld Date: Fri, 3 Oct 2008 10:02:04 +0000 (+0200) Subject: html/show.tmpl: Fix Perl warning X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=5e33ca709be141443d01e28212c324daba704268;p=deb%2Fpackages.git html/show.tmpl: Fix Perl warning Fix 'Argument "" isn't numeric in numeric gt (>)' warning. --- diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 9738e7c..f18efe5 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -265,7 +265,7 @@ [% ' [' _ a.arch_str _ ']' IF a.arch_str %] [%- IF !t.is_old_pkgs -%] [% PROCESS desc_i18n_dd no_end_tag=1 trans_desc=a.trans_desc desc=a.desc -%] - [%- IF a.providers.pkgs.size > 0 -%] + [%- IF a.providers.pkgs && a.providers.pkgs.size > 0 -%] [% IF a.providers.also; '
' _ g('also a virtual package provided by'); ELSE;