172c172
<   $items['user/%user/shared-posts'] = array(
---
>   $items['user/%/shared-posts'] = array(
772c772
< function coherent_access_access_user_shared_posts($auser) {
---
> function coherent_access_access_user_shared_posts($auid) {
775,776c775,776
<   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
