function ad_admin_group_form_validate in Advertisement 6.3
Same name and namespace in other branches
- 6 ad.admin.inc \ad_admin_group_form_validate()
- 6.2 ad.admin.inc \ad_admin_group_form_validate()
- 7 ad.admin.inc \ad_admin_group_form_validate()
Save a newly created ad group.
File
- ./
ad.admin.inc, line 792 - 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');
}
}