Commit 8bd8717c authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5879-add-a-tos-checkbox-feature-in-forms' into '1.4-dev'

Resolve "Add a TOS checkbox feature in forms"

See merge request fusiondirectory/fd-plugins!371
parents 22876066 60718d32
......@@ -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) {
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