Index: userposts.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/userposts/userposts.module,v
retrieving revision 1.4
diff -u -F^f -r1.4 userposts.module
--- userposts.module	15 Nov 2004 09:42:22 -0000	1.4
+++ userposts.module	7 May 2005 18:21:59 -0000
@@ -23,7 +23,7 @@ function userposts_menu() {
 /**
  * Menu callback; display a user page.
  */
-function userposts_user($op, &$edit, &$user, $category) {
+function userposts_user($op, &$edit, &$user, $category = FALSE) {
   if($op == 'view') {
     foreach (node_list() as $type) {
       $listres = db_query('SELECT n.nid, n.title, n.type FROM {node} n WHERE n.uid=%d AND n.type = \'%s\' ORDER BY n.changed DESC LIMIT %d',$user->uid, $type, variable_get('profile_list_amount', 10));
