function uc_wishlist_search_form_submit in UC Wish List 6
Same name and namespace in other branches
- 7 uc_wishlist.pages.inc \uc_wishlist_search_form_submit()
File
- ./
uc_wishlist.pages.inc, line 492 - Page callback and functions for wish lists.
Code
function uc_wishlist_search_form_submit($form, &$form_state) {
if (empty($form_state['values']['keywords'])) {
$form_state['redirect'] = 'wishlist/search';
}
else {
$form_state['redirect'] = 'wishlist/search/' . drupal_urlencode($form_state['values']['keywords']);
}
}