Bug 14868: (QA followup) POD fixes
To make the QA scripts happy, the POD needed a fix, and also keys applied to a hashref needs to be avoided. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
1fc17eacc5
commit
f2da856d75
|
|
@ -26,6 +26,20 @@ use Koha::Holds;
|
|||
use Koha::OldIssues;
|
||||
use Koha::Patrons;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Koha::REST::V1 - Main v.1 REST api class
|
||||
|
||||
=head1 API
|
||||
|
||||
=head2 Class Methods
|
||||
|
||||
=head3 startup
|
||||
|
||||
Overloaded Mojolicious->startup method. It is called at application startup.
|
||||
|
||||
=cut
|
||||
|
||||
sub startup {
|
||||
my $self = shift;
|
||||
|
||||
|
|
@ -167,7 +181,7 @@ sub check_object_ownership {
|
|||
reserve_id => \&_object_ownership_by_reserve_id,
|
||||
};
|
||||
|
||||
foreach my $param (keys $parameters) {
|
||||
foreach my $param ( keys %{ $parameters } ) {
|
||||
my $check_ownership = $parameters->{$param};
|
||||
if ($c->stash($param)) {
|
||||
return &$check_ownership($c, $user, $c->stash($param));
|
||||
|
|
|
|||
Loading…
Reference in New Issue