From 88bcc049f5c36f4e68085ace92780a393b78fee5 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Thu, 17 Apr 2014 11:21:05 +0200 Subject: [PATCH] MT#6731 Remove "back" param from form if posted. Somehow this sneaked in from somewhere and so far only happens with resellers, so make sure to just clear it if a form got posted. --- lib/NGCP/Panel/Utils/Navigation.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/NGCP/Panel/Utils/Navigation.pm b/lib/NGCP/Panel/Utils/Navigation.pm index aaa0713948..b26fd2b006 100644 --- a/lib/NGCP/Panel/Utils/Navigation.pm +++ b/lib/NGCP/Panel/Utils/Navigation.pm @@ -76,6 +76,8 @@ sub check_form_buttons { $c->detach; } } + delete $form->params->{back} if $posted; + delete $form->values->{back} if $posted; } sub back_or {