Bug 23336: (QA follow-up) Minor fixes
There are two leftover includes, and a couple typos in a comment and POD title. This patch fixes that. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
918bdd435d
commit
871a96552e
1 changed files with 2 additions and 4 deletions
|
@ -19,8 +19,6 @@ use Modern::Perl;
|
||||||
|
|
||||||
use Mojo::Base 'Mojolicious::Controller';
|
use Mojo::Base 'Mojolicious::Controller';
|
||||||
use Mojo::JSON;
|
use Mojo::JSON;
|
||||||
use Digest::MD5 qw( md5_base64 );
|
|
||||||
use Encode;
|
|
||||||
|
|
||||||
use C4::Auth qw( haspermission );
|
use C4::Auth qw( haspermission );
|
||||||
use C4::Context;
|
use C4::Context;
|
||||||
|
@ -102,7 +100,7 @@ sub get {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
=head3 get_availablity
|
=head3 get_availability
|
||||||
|
|
||||||
Controller function that handles retrieval of Checkout availability
|
Controller function that handles retrieval of Checkout availability
|
||||||
|
|
||||||
|
@ -205,7 +203,7 @@ sub add {
|
||||||
if ( keys %{$confirmation} ) {
|
if ( keys %{$confirmation} ) {
|
||||||
my $confirmed = 0;
|
my $confirmed = 0;
|
||||||
|
|
||||||
# Check for existance of confirmation token
|
# Check for existence of confirmation token
|
||||||
# and if exists check validity
|
# and if exists check validity
|
||||||
if ( my $token = $c->param('confirmation') ) {
|
if ( my $token = $c->param('confirmation') ) {
|
||||||
my $confirm_keys = join( ":", sort keys %{$confirmation} );
|
my $confirm_keys = join( ":", sort keys %{$confirmation} );
|
||||||
|
|
Loading…
Reference in a new issue