Quellcode durchsuchen

Realy fix the hicell issue, sorry

Torbjorn Svensson vor 20 Jahren
Ursprung
Commit
ca98e58034
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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/^#//;