Download & Extend

Bug/Typo prevents adding comment to user guestbook

Project:Guestbook
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Could someone please tell me where to put this patch ? -- Thank you! (sorry, but I'm still a bit of a 'newB')

#2

You go to the guestbook directory (often sites/all/modules/guestbook) and there you use the patch tool using this patch.

Patching is explained at http://drupal.org/patch.

Thanks,
-Randy

#3

Status:needs review» fixed

Thanks for reporting, reviewing, and testing! Committed to HEAD.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here