Bug/Typo prevents adding comment to user guestbook

rfay - October 27, 2009 - 19:51
Project:Guestbook
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Problem: On a user guestbook entry, click "add comment" (for example, user/457/guestbook/comment/66?destination=/users/rfay#comment-entry)

What I expect: Ability to add a comment to user guestbook entry

What I get: A page that says "There are no guestbook entries yet".

The attached patch fixes a bug where $uid is used without being defined, replacing it with $account->uid

AttachmentSize
guestbook_uid.patch601 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.