Closed (fixed)
Project:
Pay-per-node
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
1 Apr 2010 at 05:06 UTC
Updated:
28 Apr 2010 at 11:40 UTC
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!