summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index dd3db02c..1dee7692 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -307,7 +307,7 @@ sub redirect {
my ($self, $msg) = @_;
use List::Util qw(first);
- if ($self->{callback}) {
+ if ($self->{callback} || !$msg){
main::redirect();
} else {