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:
Tomás Cohen Arazi 2023-07-03 10:15:57 -03:00
parent 918bdd435d
commit 871a96552e
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -19,8 +19,6 @@ use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use Mojo::JSON;
use Digest::MD5 qw( md5_base64 );
use Encode;
use C4::Auth qw( haspermission );
use C4::Context;
@ -102,7 +100,7 @@ sub get {
};
}
=head3 get_availablity
=head3 get_availability
Controller function that handles retrieval of Checkout availability
@ -205,7 +203,7 @@ sub add {
if ( keys %{$confirmation} ) {
my $confirmed = 0;
# Check for existance of confirmation token
# Check for existence of confirmation token
# and if exists check validity
if ( my $token = $c->param('confirmation') ) {
my $confirm_keys = join( ":", sort keys %{$confirmation} );