From: Nahuel ANGELINETTI Date: Thu, 25 Jun 2009 10:44:11 +0000 (+0200) Subject: (bug #3363) do not reload parent if you add a biblio in shelf X-Git-Tag: n_acq_a_porter~26^2~2 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=sidebyside;h=ba6c8f1dd5df6085ec3fe4f5b3bd9964f09d6d29;p=koha.git (bug #3363) do not reload parent if you add a biblio in shelf this patch make the script not reloading the parent if the user add a biblio in a already existing shelf(useless). Signed-off-by: Galen Charlton --- diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl index c1ebacf7de..9e67b12d68 100755 --- a/opac/opac-addbybiblionumber.pl +++ b/opac/opac-addbybiblionumber.pl @@ -80,7 +80,7 @@ if ($shelfnumber && ($shelfnumber != -1)) { AddBibliosToShelf($shelfnumber,@biblionumber); RefreshShelvesSummary($query->cookie("CGISESSID"),$loggedinuser,($loggedinuser == -1 ? 20 : 10)); print $query->header; - print ""; + print ""; exit; } else {