Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $targetLangs = isset($form_state['values']['target']) ? $form_state['values']['target'] : key($options_first);
- if (count($targetLangs) == 0) {
- drupal_get_messages();
- drupal_set_message("Please select appropriate Freeway Target Languages.");
- drupal_goto($base_root . request_uri());
- }
- drupal_get_messages();
- drupal_set_message("CountArray ->".count($targetLangs));
- $countVal = count($targetLangs);
- for($e=0;$e<$countVal ;$e++)
- {
- drupal_set_message("Values we need >!".$targetLangs[$e]);
- }
- drupal_goto("user");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement