Skip to content

Commit e170dc6

Browse files
committed
fix(ldapselectfield): log LDAP error instead of showing it to user
1 parent 3f711a5 commit e170dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/ldapdropdown.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public static function getDropdownValue($post, $json = true) {
139139
$limitexceeded = in_array(ldap_errno($ds), [4, 11]);
140140

141141
if ($limitexceeded) {
142-
Session::addMessageAfterRedirect(__('LDAP size limit exceeded', 'formcreator'), true, WARNING);
142+
Toolbox::logError("LDAP size limit exceeded");
143143
}
144144

145145
unset($entries['count']);

0 commit comments

Comments
 (0)