Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
redirect.patch | 710 bytes | Alexander N |
Comments
Comment #1
maurizio.ganovelliHello,
same thing as http://drupal.org/node/759826#comment-2816270! Thanks for your work!
Bye!
Comment #2
maurizio.ganovelliPatch tested and committed to repository.
Thanks again!