From d975c574f92b97297ebfa2a260f0040064ca0f46 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 24 Jan 2017 17:30:42 +0100 Subject: [PATCH] Form->redirect: nur dann im Flash was speichern, wenn Nachricht vorhanden --- SL/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Form.pm b/SL/Form.pm index 3407a202d..c9d5932ea 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -733,7 +733,7 @@ sub redirect { $self->info($msg); } else { - SL::Helper::Flash::flash_later('info', $msg); + SL::Helper::Flash::flash_later('info', $msg) if $msg; $self->_store_redirect_info_in_session; print $::form->redirect_header($self->{callback}); } -- 2.20.1