Commit 70b69b40 authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch '6241-private-form-must-not-be-related-to-the-plugin-invitations-3' into 'dev'

Resolve "Private form must not be related to the plugin invitations"

See merge request fusiondirectory/fd-plugins!1009
parents 86d73c9d 7637d8b5
No related merge requests found
Showing with 2 additions and 4 deletions
+2 -4
......@@ -293,7 +293,7 @@ class publicFormPage extends standAlonePage
}
}
protected function getPrefilledValuesTest ($values = [])
protected function processPrefilledPrivateFormValues ($values = [])
{
if (isset($this->form['fdPublicFormPrivate']) && ($this->form['fdPublicFormPrivate'] == 'TRUE')) {
$this->prefill = TRUE;
......@@ -323,7 +323,7 @@ class publicFormPage extends standAlonePage
protected function getPrefilledValues ($values = [])
{
$values = $this->getPrefilledValuesTest();
$values = $this->processPrefilledPrivateFormValues();
if (isset($this->registration['fdRegistrationEmailAddress']) && !isset($values['mailAccount']['mail'])) {
/* Fill email field with target email if empty */
if (!isset($values['mailAccount'])) {
......@@ -368,8 +368,6 @@ class publicFormPage extends standAlonePage
function execute ()
{
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