--- coherent_access/coherent_access.module	2008-11-03 12:39:40.000000000 -0600
+++ coherent_access.module	2009-01-18 12:07:20.000000000 -0600
@@ -169,7 +169,7 @@ function coherent_access_menu() {
     'access arguments' => array('administer site configuration'),
   );
 
-  $items['user/%user/shared-posts'] = array(
+  $items['user/%/shared-posts'] = array(
     'type' => MENU_LOCAL_TASK,
     'title' => 'Shared Posts',
     'page callback' => 'coherent_access_collaborative_content',
@@ -769,11 +769,11 @@ function _coherent_access_user_has_share
 
 // this function determines if the currently logged in user 
 // can access the shared shared post listing for user $uid
-function coherent_access_access_user_shared_posts($auser) {
+function coherent_access_access_user_shared_posts($auid) {
   global $user;
   
-  if ($auser->uid == $user->uid || user_access('administer nodes')) {
-    _coherent_access_user_has_shared_content($auser->uid);  // return true only if the user has shared content
+  if ($auid == $user->uid || user_access('administer nodes')) {
+    return _coherent_access_user_has_shared_content($auid);  // return true only if the user has shared content
   }
   else {
     return FALSE;
