In customdestination_form_alter, there is a var dump that displays on pages that have a custom destination. We need to comment out this var_dump in the non-dev release.

Peace,
Brian

/**
 * The core of the module, form_alter #redirect value with custom destination
 */
function customdestination_form_alter(&$form, $form_state, $form_id) {
  $customdestination = customdestination_load($form_id);
  if (!empty($customdestination)) {
    $redirect = (strpos($customdestination['dst'], '?')) ? explode('?', $customdestination['dst']) : $customdestination['dst']; 
    //var_dump($redirect);
    $form['#redirect'] = $redirect;
  }
}

Comments

flevour’s picture

Status: Active » Fixed

What a shame. I released 1.6 just now, sorry for the bother everyone.
Thank you Brian!
Francesco

Brian294’s picture

Thank you for such a fantastic module Francesco! I use customdestination on 100% of the sites that I manage. :-)

Peace,
Brian
Owner, yadaDROP LLC
http://yadadrop.com

flevour’s picture

Glad to hear that Brian, I really appreciate your comment.
Have fun and happy hacking,
Francesco

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.