From a777fb43d7d13b1dda755e3a23d3858a54c1a631 Mon Sep 17 00:00:00 2001 From: Frederic Demians Date: Tue, 30 Dec 2008 07:54:44 +0100 Subject: [PATCH] Fixes bug #2875 Signed-off-by: Galen Charlton --- misc/cronjobs/cloud-kw.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5