From: Frederic Demians Date: Tue, 30 Dec 2008 06:54:44 +0000 (+0100) Subject: Fixes bug #2875 X-Git-Tag: new_acq_a_porter~664 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=a777fb43d7d13b1dda755e3a23d3858a54c1a631;p=koha_fer Fixes bug #2875 Signed-off-by: Galen Charlton --- diff --git a/misc/cronjobs/cloud-kw.pl b/misc/cronjobs/cloud-kw.pl index 05d404c926..8cfbcccdcc 100755 --- a/misc/cronjobs/cloud-kw.pl +++ b/misc/cronjobs/cloud-kw.pl @@ -70,8 +70,7 @@ for my $cloud ( @clouds ) { open my $fh, ">", $cloud->{Output} or croak "Unable to create file ", $cloud->{Output}; - my $withcss = $cloud->{Withcss}; - $withcss =~ /^y/i; + my $withcss = $cloud->{Withcss} =~ /^yes/i; print $fh $index->html_cloud( $cloud->{KohaIndex}, $withcss ); close $fh; $set_new_context && restore_context C4::Context;