Closed (fixed)
Project:
Webform
Version:
6.x-2.1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2008 at 18:37 UTC
Updated:
23 Jul 2008 at 10:57 UTC
Look at lines 1161 - 1164 :
elseif (isset($allowed_roles[2])) {
// The "authenticated user" role is allowed to submit and the user is currently logged-out.
$message = t('You must <a href="!login">login</a> or <a href="!register">register</a> to view this form.', array('!login' => 'user/login', '!register' => 'user/register'));
}
These links go no where. I would guess you need to get the site $base_path and use that here. Also, seems hard coded for clean URLs ? that can't be good. Unless these are configurable somewhere in the admin interface? I don't see that.
An easy bug, easy fix.
Comments
Comment #1
goose2000 commentedOk, you just need to wrap the links with the url() thingy:
Comment #2
quicksketchThanks, quite right. I wrapped them in url() and committed.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.