Skip to content
Snippets Groups Projects
Commit 7d24ddee authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #923 from greezybacon/issue/919


forms: Fixup misleading page after save

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 86c4a0a4 a4d8f0e0
No related branches found
No related tags found
No related merge requests found
...@@ -118,6 +118,8 @@ if($_POST) { ...@@ -118,6 +118,8 @@ if($_POST) {
$field->set('form_id', $form->get('id')); $field->set('form_id', $form->get('id'));
$field->save(); $field->save();
} }
// No longer adding a new form
unset($_REQUEST['a']);
} }
} }
if ($errors) if ($errors)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment