From: Barijaona Ramaholimihaso Date: Sat, 22 Sep 2007 08:28:38 +0000 (+0000) Subject: Avoid "conditional and" for adding header to $output X-Git-Tag: debian/2.1.2-2~90 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=21e1a6a3689fc99525aa3a1d3c5948aad2a2de08;p=pkg%2Fblosxom.git Avoid "conditional and" for adding header to $output --- diff --git a/blosxom.cgi b/blosxom.cgi index f45aff7..bba92f1 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -547,7 +547,7 @@ sub generate { } # End skip # Finally, add the header, if any and running dynamically - $static_or_dynamic eq 'dynamic' and $header and $output = header($header) . $output; + $output = header($header) . $output if ($static_or_dynamic eq 'dynamic' and $header); $output; }