You are here

function biblio_admin_author_edit_form_validate in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 includes/biblio.admin.inc \biblio_admin_author_edit_form_validate()
  2. 7 includes/biblio.admin.inc \biblio_admin_author_edit_form_validate()
  3. 7.2 includes/biblio.admin.inc \biblio_admin_author_edit_form_validate()

File

./biblio.admin.inc, line 1828

Code

function biblio_admin_author_edit_form_validate($form, &$form_state) {
  foreach ($form_state['values'] as $key => $value) {
    if (is_string($value)) {
      $form_state['values'][$key] = trim($value);
    }
  }
}