Closed (fixed)
Project:
Invite
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2006 at 21:37 UTC
Updated:
11 Dec 2006 at 21:30 UTC
When Clean URLs are disabled the invite email contains and invalid Register Here link. Recommend a check to see if Clean URLs disabled/enabled when generating URLs to Drupal site.
Comments
Comment #1
laura s commentedChanging this to critical because this problem renders the module dysfunctional.
The problem code in invite.module,v 1.4 2005/12/23 01:44:49 kbahey is line 374:
$body .= "Register Here : ". $base_url."/user/register";Normally I'd convert this line to use the "l()" link method, which automatically adapts to clean/non-clean URLs, but as this is text for a plain text email, that string doesn't seem to work, unless I'm missing something.
My this-time-only hack is to manually un-clean the URL, but fixing this hard-coding would seem to be essential.
Comment #2
AjK commentedThis appeared to be fixed sometime ago by the use of templates and the path using url()
Comment #3
(not verified) commented