projects
/
matthijs
/
upstream
/
blosxom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid "conditional and" for adding header to $output
[matthijs/upstream/blosxom.git]
/
blosxom.cgi
diff --git
a/blosxom.cgi
b/blosxom.cgi
index f45aff7d262d3b4c8c5bf427d1c86b2acbe71045..bba92f18a07e149f5516054e10f088d048b9e713 100755
(executable)
--- a/
blosxom.cgi
+++ b/
blosxom.cgi
@@
-547,7
+547,7
@@
sub generate {
} # End skip
# Finally, add the header, if any and running dynamically
} # 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;
}
$output;
}