I have a test site at http://localhost/p/pui/.

After I create a purchased node, paypernode is redirecting me to http://localhost/p/pui//p/pui/node/IDNUMBER.

It is the code at line 315 in paypernode.module that's doing a redirect like this:

$form_state['redirect']=url('node/'.$node->nid);

It shouldn't be using the url() function. I removed it and now it correctly redirects me to http://localhost/p/pui/node/IDNUMBER

This is more like the usage in the reference: Forms API reference: redirect

CommentFileSizeAuthor
redirect.patch710 bytesAlexander N
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

maurizio.ganovelli’s picture

Hello,
same thing as http://drupal.org/node/759826#comment-2816270! Thanks for your work!
Bye!

maurizio.ganovelli’s picture

Assigned: Unassigned » maurizio.ganovelli
Status: Needs review » Fixed

Patch tested and committed to repository.

Thanks again!

Status: Fixed » Closed (fixed)

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