]> git.koha-community.org Git - koha.git/commit
Bug 22723: Correct syntax error on confess call in Koha/MetadataRecord/Authority.pm
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Apr 2019 11:58:57 +0000 (13:58 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 May 2019 20:29:51 +0000 (20:29 +0000)
commit377af593c44b3c903c493fbe6dca62149ddf70ce
tree94a3192e8a6c262e6991c206fd6a56131c1c5755
parentc0c0303fcc76788fd55d2fc5319dde9ccda008f1
Bug 22723: Correct syntax error on confess call in Koha/MetadataRecord/Authority.pm

In Koha/MetadataRecord/Authority.pm the call to confess is missing string quotes.

It may generates this error :

Can't locate object method "confess" via package "Empty String at /usr/share/perl5/MARC/File/XML.pm line 448.
" (perhaps you forgot to load "Empty String at /usr/share/perl5/MARC/File/XML.pm line 448.
"?) at /home/koha/src/Koha/MetadataRecord/Authority.pm line 186.

Simply missing double quotes.
Also missing use Carp to call confess.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 4e2c74fced685db861a78fc1aa151dd35ad0d5f2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 4863e59c5798fda6883c354eeb5096d4609e42bd)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/MetadataRecord/Authority.pm