[Koha-patches] [PATCH] Fixes bug #2875

Frederic Demians f.demians at tamil.fr
Tue Dec 30 07:54:44 CET 2008


---
 misc/cronjobs/cloud-kw.pl |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/misc/cronjobs/cloud-kw.pl b/misc/cronjobs/cloud-kw.pl
index 05d404c..8cfbccc 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;
-- 
1.5.5.GIT




More information about the Koha-patches mailing list