[Libreoffice-commits] website.git: Branch 'tinderbox' - lib/HTMLPopUp
Christian Lohmaier
lohmaier+LibreOffice at googlemail.com
Mon Mar 17 10:14:09 PDT 2014
lib/HTMLPopUp/OverLib.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit d01ca0164fc6b4ea4f7e8e29681a0f408e0414b9
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Mon Mar 17 18:12:38 2014 +0100
there should always be a branch
diff --git a/lib/HTMLPopUp/OverLib.pm b/lib/HTMLPopUp/OverLib.pm
index c681059..dded379 100644
--- a/lib/HTMLPopUp/OverLib.pm
+++ b/lib/HTMLPopUp/OverLib.pm
@@ -1574,8 +1574,7 @@ sub page_header {
my (%args) = @_;
my ($label, $branch) = ($args{'title'} =~ /^([^:]*: )(.*)$/);
- my $heading = $args{'title'};
- $heading = "$label <a href=\"http://cgit.freedesktop.org/libreoffice/core/log/?h=".lc($branch)."\">$branch</a>" unless ($branch =~ /^[A-Z]/);
+ my $heading = "$label <a href=\"http://cgit.freedesktop.org/libreoffice/core/log/?h=".lc($branch)."\">$branch</a>" if ($branch);
my ($html_time) = $main::LOCALTIME;
$html_time =~ s/:[^:]+$//;
More information about the Libreoffice-commits
mailing list