You are here

function simple_ldap_admin_submit in Simple LDAP 7.2

1 string reference to 'simple_ldap_admin_submit'
simple_ldap_admin in ./simple_ldap.admin.inc
LDAP server configuration form.

File

./simple_ldap.admin.inc, line 148
Functions for Simple LDAP admin interface.

Code

function simple_ldap_admin_submit($form, &$form_state) {
  if (empty($form_state['values']['simple_ldap_bindpw'])) {
    $form_state['values']['simple_ldap_bindpw'] = $form_state['values']['old_simple_ldap_bindpw'];
  }
  unset($form_state['values']['old_simple_ldap_bindpw']);
}