Verified Commit 60718d32 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(public-forms) Fix missing global $ui in submitForm()

issue #5879
Showing with 2 additions and 2 deletions
+2 -2
......@@ -217,7 +217,7 @@ class publicFormPage extends standAlonePage
protected function submitForm()
{
global $config;
global $config, $ui;
/* Check TOS checkbox */
if (isset($this->form['fdPublicFormTosUrl']) && !isset($_POST['tosCheckBox'])) {
......@@ -277,7 +277,7 @@ class publicFormPage extends standAlonePage
function save_object()
{
global $config, $ui;
global $config;
if (!$this->activated) {
return;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment