View | Details | Raw Unified | Return to bug 41593
Collapse All | Expand All

(-)a/suggestion/suggestion.pl (-1 / +12 lines)
Lines 103-108 my $filter_archived = $input->param('filter_archived') || 0; Link Here
103
my $new_itemtype      = $input->param('suggestion_itemtype');
103
my $new_itemtype      = $input->param('suggestion_itemtype');
104
my $sugg_managedby    = $input->param('suggestion_managedby');
104
my $sugg_managedby    = $input->param('suggestion_managedby');
105
105
106
#NOTE: Validate displayby as it gets passed to sensitive functions
107
my %valid_displayby = (
108
    STATUS     => 1,
109
    branchcode => 1,
110
    itemtype   => 1,
111
    managedby  => 1,
112
    acceptedby => 1,
113
);
114
if ( !$valid_displayby{$displayby} ) {
115
    $displayby = '';
116
}
117
106
my $reasonsloop = GetAuthorisedValues("SUGGEST");
118
my $reasonsloop = GetAuthorisedValues("SUGGEST");
107
119
108
my $suggestion_ref = { $input->Vars };
120
my $suggestion_ref = { $input->Vars };
109
- 

Return to bug 41593