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

report.cgi

index a70885ecdd68115a1f42486e3e244c992aa46fcc..0fbb339f3adb26ae0050aff758b556949548e9c9 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}++;