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

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

issue #5879
parent 22876066
......@@ -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;
......
Markdown is supported
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