Просмотр исходного кода

Realy fix the hicell issue, sorry

Torbjorn Svensson 20 лет назад
Родитель
Сommit
ca98e58034
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/Pisg/HTMLGenerator.pm

+ 1 - 1
modules/Pisg/HTMLGenerator.pm

@@ -685,7 +685,7 @@ sub generate_colors
     my $c = shift;
 
 	# if hicell or hicell2 is "", do not print the class as it could mess up the gendercode
-    return "" if not length $self->{cfg}->{hicell} . $self->{cfg}->{hicell2};
+    return "" if not (length $self->{cfg}->{hicell} and length $self->{cfg}->{hicell2});
 
     my $h = $self->{cfg}->{hicell} or return "class=\"hicell\"";
     $h =~ s/^#//;