diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-08-19 01:49:37 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-08-19 01:49:37 +0000 |
commit | fb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7 (patch) | |
tree | 21c59c0b999e393b716ca3e1d49fa6d4ad6c6eea | |
parent | 6e0bd712df9ad0a2e97951dc33bbec0bcc332e07 (diff) | |
download | elgg-fb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7.tar.gz elgg-fb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7.tar.bz2 |
river event for tagging is now picking up access level from image
-rw-r--r-- | actions/addtag.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/addtag.php b/actions/addtag.php index fa2b4b3c6..3f623fc86 100644 --- a/actions/addtag.php +++ b/actions/addtag.php @@ -77,9 +77,9 @@ if (!check_entity_relationship($user_id, 'phototag', $image_guid)) {
add_entity_relationship($user_id, 'phototag', $image_guid);
- // also add this to the river
+ // also add this to the river - subject is image, object is the tagged user
if (function_exists('add_to_river'))
- add_to_river('river/object/image/tag', 'tag', $image_guid, $user_id); // subject is image
+ add_to_river('river/object/image/tag', 'tag', $image_guid, $user_id, $access_id);
}
}
|