diff --git a/modules/setup/application/forms/AuthBackendPage.php b/modules/setup/application/forms/AuthBackendPage.php index 85f5cf82e..24ca72b8d 100644 --- a/modules/setup/application/forms/AuthBackendPage.php +++ b/modules/setup/application/forms/AuthBackendPage.php @@ -116,6 +116,21 @@ class AuthBackendPage extends Form $this->addSubForm($backendForm, 'backend_form'); } + /** + * Retrieve all form element values + * + * @param bool $suppressArrayNotation Ignored + * + * @return array + */ + public function getValues($suppressArrayNotation = false) + { + $values = parent::getValues(); + $values = array_merge($values, $values['backend_form']); + unset($values['backend_form']); + return $values; + } + /** * Validate the given form data and check whether it's possible to authenticate using the configured backend * diff --git a/modules/setup/application/forms/UserGroupBackendPage.php b/modules/setup/application/forms/UserGroupBackendPage.php index 7764848fe..272949d54 100644 --- a/modules/setup/application/forms/UserGroupBackendPage.php +++ b/modules/setup/application/forms/UserGroupBackendPage.php @@ -129,4 +129,19 @@ class UserGroupBackendPage extends Form ) ); } + + /** + * Retrieve all form element values + * + * @param bool $suppressArrayNotation Ignored + * + * @return array + */ + public function getValues($suppressArrayNotation = false) + { + $values = parent::getValues(); + $values = array_merge($values, $values['backend_form']); + unset($values['backend_form']); + return $values; + } }