Skip to content

Commit 4969e64

Browse files
committed
fix(ldapfield): missing post value when field fails to populate
Signed-off-by: btry <tbugier@teclib.com>
1 parent c5e6a7e commit 4969e64

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

inc/fields/ldapselectfield.class.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ public static function getJSFields() {
187187

188188
public function parseAnswerValues($input) {
189189
$key = 'formcreator_field_' . $this->fields['id'];
190+
if (!isset($input[$key])) {
191+
$input[$key] = '';
192+
}
190193
if (!is_string($input[$key])) {
191194
return false;
192195
}

0 commit comments

Comments
 (0)