---
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
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches