Fixes bug #2875
authorFrederic Demians <f.demians@tamil.fr>
Tue, 30 Dec 2008 06:54:44 +0000 (07:54 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 31 Dec 2008 15:47:57 +0000 (09:47 -0600)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
misc/cronjobs/cloud-kw.pl

index 05d404c..8cfbccc 100755 (executable)
@@ -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;