When the "my guestbook" is displayed on the sidebar, it displays "my guestbook nsbp(0)".

CommentFileSizeAuthor
#3 guestbook_1.module10.62 KBwebchick
#2 screenshot_9.gif1.45 KBwoutervp

Comments

blogeration’s picture

I installed Drupal and guestbook today, with the exact same problem.

Did nobody notice this before?

woutervp’s picture

StatusFileSize
new1.45 KB

Same issue here.

I have a standard installation, uploaded as text, but still same problem.

webchick’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new10.62 KB

On line 22 of guestbook.module, change:

  $unread = " (" . _guestbook_newentries() . ")";

to:

  $unread = " (" . _guestbook_newentries() . ")";

And that should fix the problem.

Attached is a new version of guestbook.module with this error fixed.

To the developer, sorry, I'm not sure how to make a patch against a file that's not in CVS, but hopefully this will do. :)

hba’s picture

Assigned: Unassigned » hba
Status: Reviewed & tested by the community » Fixed

Fixed in CVS (for 4.6.0).

Anonymous’s picture

Status: Fixed » Closed (fixed)