I have guestbook.module,v 1.1.6.8 2006/02/20 installed on Drupal 4.6. When I go to a user's guestbook (such as guestbook/5), all is ok, except 2 username links that don't seem to work:
1) The breadcrumb:
"Home » Guestbooks » username's guestbook"
2) The entry at the top of the message text area:
"Add entry in username's guestbook"
In both cases, clicking on the 'username' link goes to a url of /user/view/5, which gives a 'page not found'.
I believe that clicking on the username link should take you to the username's profile page. If the link is to go to the user's profile, it should go to /user/5, instead.
If this is the case, then changing the guestbook module's line 105 from:
$bookowner= l($account->name, "user/view/$account->uid");
to
$bookowner= l($account->name, "user/$account->uid");
fixes this.
Comments
Comment #1
hba commentedThanks! That's what happens when I test my module in admin mode. The fix is submitted to CVS (DRUPAL-4-6).
Comment #2
(not verified) commented