aboutsummaryrefslogtreecommitdiff
path: root/actions/addtag.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-19 01:49:37 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-19 01:49:37 +0000
commitfb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7 (patch)
tree21c59c0b999e393b716ca3e1d49fa6d4ad6c6eea /actions/addtag.php
parent6e0bd712df9ad0a2e97951dc33bbec0bcc332e07 (diff)
downloadelgg-fb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7.tar.gz
elgg-fb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7.tar.bz2
river event for tagging is now picking up access level from image
Diffstat (limited to 'actions/addtag.php')
-rw-r--r--actions/addtag.php4
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);
}
}