Verified Commit 329e6380 authored by dockx thibault's avatar dockx thibault
Browse files

:ambulance: Fix(Public-form) - Proper boolean to string check

Proper boolean (string from ldap) verification.
Showing with 1 addition and 1 deletion
+1 -1
...@@ -167,7 +167,7 @@ class publicFormPage extends standAlonePage ...@@ -167,7 +167,7 @@ class publicFormPage extends standAlonePage
// Verify if usage of private forms are allowed without invitation plugins // Verify if usage of private forms are allowed without invitation plugins
$allowPrivateFormUsage = $config->get_cfg_value('fdPublicFormAllowPrivateFormWithoutInvitations'); $allowPrivateFormUsage = $config->get_cfg_value('fdPublicFormAllowPrivateFormWithoutInvitations');
if (!$allowPrivateFormUsage) { if ($allowPrivateFormUsage !== 'TRUE') {
if (isset($this->registration)) { if (isset($this->registration)) {
/* We wait for form to be fetched so that form name is shown even if invitation is unusable */ /* We wait for form to be fetched so that form name is shown even if invitation is unusable */
......
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