You are here

function ad_admin_group_form_validate in Advertisement 6

Same name and namespace in other branches
  1. 6.3 ad.admin.inc \ad_admin_group_form_validate()
  2. 6.2 ad.admin.inc \ad_admin_group_form_validate()
  3. 7 ad.admin.inc \ad_admin_group_form_validate()

Save a newly created ad group.

File

./ad.admin.inc, line 860
Advertisement admin pages and functions.

Code

function ad_admin_group_form_validate($form, &$form_state) {
  if ($form_state['values']['op'] == t('Delete')) {
    drupal_goto('admin/content/ad/groups/' . $form_state['values']['tid'] . '/delete');
  }
}