From a4d8f0e0518e7427b3273e30f9c08b7488ee8f46 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Tue, 20 May 2014 11:22:43 -0500 Subject: [PATCH] forms: Fixup misleading page after save --- scp/forms.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scp/forms.php b/scp/forms.php index 505ccc639..d739a9904 100644 --- a/scp/forms.php +++ b/scp/forms.php @@ -118,6 +118,8 @@ if($_POST) { $field->set('form_id', $form->get('id')); $field->save(); } + // No longer adding a new form + unset($_REQUEST['a']); } } if ($errors) -- GitLab