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

--- Comment #1 from M. de Rooy <m.de.r...@rijksmuseum.nl> ---
Created attachment 23231
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23231&action=edit
Bug 11329: Check for marc record in opac-showmarc

Instead of just running as_formatted, check if GetMarcBiblio returned
a reference. If you e.g. did not pass an id, return 404 instead of 500.
Consistent with opac-export.pl

Test plan:
[1] Run opac-showmarc.pl with valid biblionumber in id parameter.
[2] Remove id parameter from URL. You should get a 404 now.

-- 
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