Bug 23075: Do not 'Send' if the url is not correct
Just in case. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
1e47e5a849
commit
42ebef689f
|
|
@ -65,7 +65,7 @@ if ( $op eq 'reset' ) {
|
|||
C4::Context->set_preference('ManaToken', '');
|
||||
}
|
||||
|
||||
if ( $op eq 'send' ) {
|
||||
if ( $op eq 'send' && not $bad_url ) {
|
||||
my $name = $query->param('name');
|
||||
my $email = $query->param('email');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue