Bug 11299: Fix indirect object notation
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 21 Oct 2020 02:37:28 +0000 (04:37 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 14 Jan 2021 13:03:49 +0000 (14:03 +0100)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
svc/cataloguing/automatic_linker.pl

index 62f2507..5d7fd0f 100755 (executable)
@@ -25,7 +25,7 @@ use C4::Auth;
 use C4::Biblio;
 use C4::Context;
 
-my $input = new CGI;
+my $input = CGI->new;
 print $input->header('application/json');
 
 # Check the user's permissions