The following commit has been merged in the master branch:
commit 5e33ca709be141443d01e28212c324daba704268
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date:   Fri Oct 3 12:02:04 2008 +0200

    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 %]</dt>
       [%- 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;
                '<br>' _ g('also a virtual package provided by');
             ELSE;

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to