|
Lines 98-103
my $filter_archived = $input->param('filter_archived') || 0;
Link Here
|
| 98 |
my $new_itemtype = $input->param('suggestion_itemtype'); |
98 |
my $new_itemtype = $input->param('suggestion_itemtype'); |
| 99 |
my $sugg_managedby = $input->param('suggestion_managedby'); |
99 |
my $sugg_managedby = $input->param('suggestion_managedby'); |
| 100 |
|
100 |
|
|
|
101 |
#NOTE: Validate displayby as it gets passed to sensitive functions |
| 102 |
my %valid_displayby = ( |
| 103 |
STATUS => 1, |
| 104 |
branchcode => 1, |
| 105 |
itemtype => 1, |
| 106 |
managedby => 1, |
| 107 |
acceptedby => 1, |
| 108 |
); |
| 109 |
if ( !$valid_displayby{$displayby} ) { |
| 110 |
$displayby = ''; |
| 111 |
} |
| 112 |
|
| 101 |
my $reasonsloop = GetAuthorisedValues("SUGGEST"); |
113 |
my $reasonsloop = GetAuthorisedValues("SUGGEST"); |
| 102 |
|
114 |
|
| 103 |
my $suggestion_ref = { $input->Vars }; |
115 |
my $suggestion_ref = { $input->Vars }; |
| 104 |
- |
|
|