summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB.pm1
-rw-r--r--LedgerSMB/Form.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm
index c75482f3..6192fe8d 100755
--- a/LedgerSMB.pm
+++ b/LedgerSMB.pm
@@ -350,6 +350,7 @@ sub redirect {
if ( $self->{callback} || !$msg ) {
main::redirect();
+ exit;
}
else {
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 6a2ae3b3..ff01295e 100644
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -343,6 +343,7 @@ sub redirect {
if ( $self->{callback} || !$msg ) {
main::redirect();
+ exit;
}
else {