You are here

function amazon_test_form_submit in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 6 amazon.admin.inc \amazon_test_form_submit()
  2. 7.2 amazon.admin.inc \amazon_test_form_submit()

File

./amazon.admin.inc, line 180
Amazon Admin pages.

Code

function amazon_test_form_submit($form, &$form_state) {
  $item = $form_state['amazon_item'];
  amazon_item_delete($item['asin']);
  amazon_item_insert($item);
  $form_state['rebuild'] = TRUE;
}