]> 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:16:46 +0000 (21:16 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 8 Dec 2010 20:16:46 +0000 (21:16 +0100)
r/a=mkanat

report.cgi

index c88396ab07ec58d1b448c85e15b2ea0c123d64b5..17c03a9e44141dc805cf14f3286c07841787f9c3 100755 (executable)
@@ -175,12 +175,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}++;