Commit 97a7ffa6 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Fix error message in HolidaylistPlugin patch

parent b3803894
......@@ -5,5 +5,5 @@ DEPENDENCIES
GRAPH
apache2 (5.2.1)
foswiki (2.6.0)
foswiki (2.6.1)
apache2 (< 6.0)
......@@ -1053,7 +1053,7 @@ sub _renderHolidayList() {
my $bgcolor;
$bgcolor = $options{weekendbgcolor} unless $dow < 6;
my $pubholidaybgcolor = ( $$iconTableRef{'!!__@ALL__!!'}[$i] . ' ' . $options{pubholidayicon} );
my $pubholidaybgcolor = ( $$iconTableRef{'!!__@ALL__!!'}[$i] || '' ) . ' ' . $options{pubholidayicon};
$pubholidaybgcolor =~ s/.*\bcolor\(([^\)]+)\).*/$1/;
$bgcolor = $pubholidaybgcolor
if ( $options{enablepubholidays}
......
......@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email 'hpc@gsi.de'
license 'All rights reserved'
description 'Installs/Configures Foswiki'
version '2.6.0'
version '2.6.1'
depends 'apache2', '< 6.0'
supports 'debian'
supports 'ubuntu'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment