if (!check_entity_relationship($user_id, 'phototag', $image_guid)) {\r
add_entity_relationship($user_id, 'phototag', $image_guid);\r
\r
- // also add this to the river\r
+ // also add this to the river - subject is image, object is the tagged user\r
if (function_exists('add_to_river'))\r
- add_to_river('river/object/image/tag', 'tag', $image_guid, $user_id); // subject is image\r
+ add_to_river('river/object/image/tag', 'tag', $image_guid, $user_id, $access_id); \r
}\r
}\r
\r