|
Lines 41-47
use Koha::DateUtils qw( dt_from_string );
Link Here
|
| 41 |
my $input = CGI->new; |
41 |
my $input = CGI->new; |
| 42 |
my $op = $input->param('op') || 'else'; |
42 |
my $op = $input->param('op') || 'else'; |
| 43 |
my $biblionumber = $input->param('biblionumber'); |
43 |
my $biblionumber = $input->param('biblionumber'); |
| 44 |
my $negcaptcha = $input->param('negcap'); |
|
|
| 45 |
my $suggested_by_anyone = $input->param('suggested_by_anyone') || 0; |
44 |
my $suggested_by_anyone = $input->param('suggested_by_anyone') || 0; |
| 46 |
my $title_filter = $input->param('title_filter'); |
45 |
my $title_filter = $input->param('title_filter'); |
| 47 |
my $need_confirm = 0; |
46 |
my $need_confirm = 0; |
|
Lines 62-73
my $suggestion = {
Link Here
|
| 62 |
note => scalar $input->param('note'), |
61 |
note => scalar $input->param('note'), |
| 63 |
}; |
62 |
}; |
| 64 |
|
63 |
|
| 65 |
# If a spambot accidentally populates the 'negcap' field in the suggestions form, then silently skip and return. |
|
|
| 66 |
if ($negcaptcha) { |
| 67 |
print $input->redirect("/cgi-bin/koha/opac-suggestions.pl"); |
| 68 |
exit; |
| 69 |
} |
| 70 |
|
| 71 |
my ( $template, $borrowernumber, $cookie, @messages ); |
64 |
my ( $template, $borrowernumber, $cookie, @messages ); |
| 72 |
my $deleted = $input->param('deleted'); |
65 |
my $deleted = $input->param('deleted'); |
| 73 |
my $submitted = $input->param('submitted'); |
66 |
my $submitted = $input->param('submitted'); |
| 74 |
- |
|
|