http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15381

--- Comment #11 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Comment on attachment 45903
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45903
Bug 15381: Fix error in SearchAuthorities when no authtypecode

Review of attachment 45903:
 --> 
(http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15381&attachment=45903)
-----------------------------------------------------------------

::: C4/AuthoritiesMarc.pm
@@ +291,5 @@
>          my %newline;
>          $newline{authid} = $authid;
>          if ( !$skipmetadata ) {
> +            my $auth_tag_to_report;
> +            $auth_tag_to_report = 
> Koha::Authority::Types->find($authtypecode)->auth_tag_to_report

Does this not just move the error further downstream in the code, as you will
now just be passing an undefined $auth_tag_to_report to line 298 instead. 
Under what circumstance might $authtypecode be undefined in the first place?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to