When referenced authority in 5XX$3 would be the same as the current authid, the script would get into infinite loop
Created attachment 3375 [details] [review] Proposed patch
Created attachment 3389 [details] [review] Replacement patch
I have an error: Undefined subroutine &C4::AuthoritiesMarc::_get_authid_subfield called at /home/julian/koha/versions/koha-community-git/C4/AuthoritiesMarc.pm line 1134.
(In reply to comment #3) > I have an error: > > Undefined subroutine &C4::AuthoritiesMarc::_get_authid_subfield called at > /home/julian/koha/versions/koha-community-git/C4/AuthoritiesMarc.pm line 1134. _get_authid_subfield is introduced by bug 5926.
Created attachment 3637 [details] [review] Replacement patch
Created attachment 3651 [details] [review] Replacement patch It's the same patch than 3637, but I forgot to define the others as obsoletes
Pushed, please test