Bug 23112: (follow-up) Call C4::Koha::GetAuthorisedValues
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Thu, 10 Oct 2019 14:41:58 +0000 (15:41 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Mar 2020 10:59:26 +0000 (10:59 +0000)
In response to the problem Magnus was experiencing in comment #28 & #29
we now call GetAuthorisedValues by it's full path

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Illrequest/Logger.pm

index e00a20a..45042a8 100644 (file)
@@ -211,7 +211,7 @@ sub get_request_logs {
     )->unblessed;
 
     # Populate a lookup table for status aliases
-    my $aliases = GetAuthorisedValues('ILLSTATUS');
+    my $aliases = C4::Koha::GetAuthorisedValues('ILLSTATUS');
     my $alias_hash;
     foreach my $alias(@{$aliases}) {
         $alias_hash->{$alias->{authorised_value}} = $alias;