Closed (fixed)
Project:
userposts
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2005 at 06:07 UTC
Updated:
5 Jun 2005 at 20:58 UTC
Jump to comment: Most recent file
I'm getting a missing argument error with the CVS version
warning: Missing argument 4 for userposts_user() in /home/blah/modules/userposts/userposts.module on line 26.
Posts show up, however.
silverwing
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | userposts_compatibility.diff.patch | 817 bytes | baudolino |
| #1 | userposts_user_missing_arg.patch | 576 bytes | grohk |
Comments
Comment #1
grohk commentedBased on the changes to the Album, Automember, and Buddylist modules to fix the same problem, I think the userpost_user() function needs the following change on line 26 to fix the missing argument:
becomes this:
Patch is attached.
Comment #2
silverwing commentedThank you. Works fine now.
david
Comment #3
baudolino commentedFrom reading the documentation, it seems that the fourth argument should be $category = FALSE. Here's an updated patch. Incidentally, this makes the module compatible with Drupal 4.6, so I believe it can be tagged as such.
Comment #4
Bèr Kessels commentedcommitted, thanks!
Comment #5
(not verified) commented