Commit 14944e84 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 309952: (CVE-2010-1204) [SECURITY] Make boolean chart searches with time

tracking fields no longer work for everybody r=LpSolit, a=mkanat
parent 92f35343
......@@ -870,6 +870,12 @@ sub init {
my %chartfields = @{$dbh->selectcol_arrayref(
q{SELECT name, id FROM fielddefs}, { Columns=>[1,2] })};
if (!$user->is_timetracker) {
foreach my $tt_field (TIMETRACKING_FIELDS) {
delete $chartfields{$tt_field};
}
}
my ($sequence, $chartid);
$row = 0;
for ($chart=-1 ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment