Bug 17411 - Change exit 1 to exit 0 in acqui/basket.pl to prevent Internal Server...
authorMarc <veron@veron.ch>
Thu, 6 Oct 2016 12:37:14 +0000 (14:37 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 15:08:53 +0000 (15:08 +0000)
Note: Same situation as in Bug 17403

To test:
- Verifiy that code change makes sense.

Note: Same situation as in Bug 17403
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch: Remove unecessary comment

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
acqui/basket.pl

index f3bf36a..ecc8f59 100755 (executable)
@@ -233,7 +233,7 @@ elsif ( $op eq 'ediorder' ) {
               || ( $basket->{branch}  eq '' );
             unless ($validtest) {
                 print $query->redirect("../mainpage.pl");
-                exit 1;
+                exit 0;
             }
         }