Bugzilla – Attachment 24502 Details for
Bug 11329
Check for marc record in opac-showmarc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11329: Check for marc record in catalogue/showmarc
Bug-11329-Check-for-marc-record-in-catalogueshowma.patch (text/plain), 1.08 KB, created by
Kyle M Hall (khall)
on 2014-01-17 14:19:41 UTC
(
hide
)
Description:
Bug 11329: Check for marc record in catalogue/showmarc
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-01-17 14:19:41 UTC
Size:
1.08 KB
patch
obsolete
>From 8164d2ba8e7ac67fa9256d11c82b2aa54e32d479 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 2 Dec 2013 09:41:53 +0100 >Subject: [PATCH] Bug 11329: Check for marc record in catalogue/showmarc > >Intranet counterpart patch. Same check as in opac/opac-showmarc. > >Test plan: >[1] Run showmarc.pl with valid biblionumber in id parameter. >[2] Remove id parameter from URL. You should get a 404 now. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Passes koha-qa.pl, works as advertised. >--- > catalogue/showmarc.pl | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl >index 0ee70c5..9cc039d 100755 >--- a/catalogue/showmarc.pl >+++ b/catalogue/showmarc.pl >@@ -50,6 +50,10 @@ if ($importid) { > else { > $record =GetMarcBiblio($biblionumber); > } >+if(!ref $record) { >+ print $input->redirect("/cgi-bin/koha/errors/404.pl"); >+ exit; >+} > > if($view eq 'card') { > my $themelang = '/' . C4::Templates::_current_language(); >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11329
:
23231
|
23232
|
24417
|
24418
|
24500
|
24501
| 24502