You are here

function skinr_ui_admin_form_validate in Skinr 6.2

Validation handler for skinr settings administration form.

File

./skinr_ui.admin.inc, line 372
Admin page callbacks for the skinr module.

Code

function skinr_ui_admin_form_validate(&$form, &$form_state) {
  if (empty($form_state['values']['skinr_overlay_width'])) {
    $form_state['values']['skinr_overlay_width'] = NULL;
  }
  if (empty($form_state['values']['skinr_overlay_height'])) {
    $form_state['values']['skinr_overlay_height'] = NULL;
  }
}