Skip to content

Commit

Permalink
fix(ldapfield): missing post value when field fails to populate
Browse files Browse the repository at this point in the history
Signed-off-by: btry <tbugier@teclib.com>
  • Loading branch information
btry committed Oct 26, 2018
1 parent c5e6a7e commit 4969e64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/fields/ldapselectfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ public static function getJSFields() {

public function parseAnswerValues($input) {
$key = 'formcreator_field_' . $this->fields['id'];
if (!isset($input[$key])) {
$input[$key] = '';
}
if (!is_string($input[$key])) {
return false;
}
Expand Down

0 comments on commit 4969e64

Please sign in to comment.