From 21e1a6a3689fc99525aa3a1d3c5948aad2a2de08 Mon Sep 17 00:00:00 2001 From: Barijaona Ramaholimihaso Date: Sat, 22 Sep 2007 08:28:38 +0000 Subject: [PATCH] Avoid "conditional and" for adding header to $output --- blosxom.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5