aboutsummaryrefslogtreecommitdiff
path: root/actions/photos/image/ajax_upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/photos/image/ajax_upload.php')
-rw-r--r--actions/photos/image/ajax_upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/photos/image/ajax_upload.php b/actions/photos/image/ajax_upload.php
index daa824c42..312bc598c 100644
--- a/actions/photos/image/ajax_upload.php
+++ b/actions/photos/image/ajax_upload.php
@@ -44,7 +44,7 @@ try {
$album->prependImageList(array($image->guid));
if (elgg_get_plugin_setting('img_river_view', 'tidypics') === "all") {
- add_to_river('river/object/image/create', 'create', $image->getObjectOwnerGUID(), $image->getGUID());
+ add_to_river('river/object/image/create', 'create', $image->getOwnerGUID(), $image->getGUID());
}
echo elgg_echo('success');