Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Frederic Demians 2008-12-30 07:54:44 +01:00 committed by Galen Charlton
parent 26d08662e7
commit a777fb43d7

View file

@ -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;