]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 617684: Values starting with a dot or an underscore are no longer hidden in reports
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 8 Dec 2010 20:14:32 +0000 (21:14 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 8 Dec 2010 20:14:32 +0000 (21:14 +0100)
r/a=mkanat

report.cgi

index 279d7ceeab0b388ce67620d040bbedbb528e1ca3..9695d54da2b038c4301cc561ac5f9edfdea55620 100755 (executable)
@@ -161,12 +161,6 @@ foreach my $result (@$results) {
     $row = "" if ($row eq EMPTY_COLUMN);
     $col = "" if ($col eq EMPTY_COLUMN);
     $tbl = "" if ($tbl eq EMPTY_COLUMN);
-    
-    # account for the fact that names may start with '_' or '.'.  Change this 
-    # so the template doesn't hide hash elements with those keys
-    $row =~ s/^([._])/ $1/;
-    $col =~ s/^([._])/ $1/;
-    $tbl =~ s/^([._])/ $1/;
 
     $data{$tbl}{$col}{$row}++;
     $names{"col"}{$col}++;