[Koha-bugs] [Bug 17403] Internal Server Error while deleting patron
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 11 01:11:09 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17403
--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 56067
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56067
Bug 17403: Internal Server Error while deleting patron
Review of attachment 56067:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17403&attachment=56067)
-----------------------------------------------------------------
::: members/deletemem.pl
@@ -98,4 @@
> if ( !C4::Context->IsSuperLibrarian() && $bor->{'branchcode'}){
> unless ($userenv->{branch} eq $bor->{'branchcode'}){
> print $input->redirect("/cgi-bin/koha/members/moremember.pl?borrowernumber=$member&error=CANT_DELETE_OTHERLIBRARY");
> - exit;
"exit" is the same as "exit 0", so this doesn't really matter, but I'm
certainly in favour of a consistent approach.
Why use "exit 0" over "exit" though? Just to be more explicit?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list