From fa3ac401642fe3309b56b0db0cf272e36b7e1991 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Thu, 10 Jan 2008 15:22:40 -0600 Subject: [PATCH] catalogue - exit after redirect in detail.pl and updateitem.pl Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- catalogue/detail.pl | 1 + catalogue/updateitem.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 3ecaf70785..7df3ab0087 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -67,6 +67,7 @@ my $dat = &GetBiblioData($biblionumber); if (!$dat) { print $query->redirect("/cgi-bin/koha/koha-tmpl/errors/404.pl"); + exit; } #coping with subscriptions diff --git a/catalogue/updateitem.pl b/catalogue/updateitem.pl index 3099566402..7afc55a46e 100755 --- a/catalogue/updateitem.pl +++ b/catalogue/updateitem.pl @@ -66,6 +66,7 @@ if (defined $itemnotes) { # i.e., itemnotes parameter passed from form } else { #nothings changed, so do nothing. print $cgi->redirect("moredetail.pl?biblionumber=$biblionumber&itemnumber=$itemnumber"); + exit; } ModItem($item_changes, $biblionumber, $itemnumber); -- 2.39.5