This is a follow up to my previous issue regarding adding comments. Now I log in as the blog owner to approve comments, and I get the following error.

warning: Missing argument 2 for phptemplate_comment_wrapper() in /home/vhosting/47/drupalmu.org/www/themes/garland/template.php on line 43.
CommentFileSizeAuthor
#1 usercomment.module.patch12.45 KBchuckdeal97

Comments

chuckdeal97’s picture

StatusFileSize
new12.45 KB

I have been working with the usercomments module too. Attached is a patch of the module file that attempts to fix:

1. this error with the phptemplate_comment_wrapper() (it was missing a$node arg)
2. delete/approve links not displaying
3. approve link giving access denied errors

I ran the 5.x project thru deadwood and it suggested the fix for the mail handleing (the new hook_mail impl is my attempt, it still needs to be tested)

chuckdeal97’s picture

The mail handling does work...

wmostrey’s picture

Status: Active » Fixed

Upgraded to http://drupal.org/node/320797 which seems to have fixed the issue.

Status: Fixed » Closed (fixed)

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