summaryrefslogtreecommitdiff
path: root/plugins/GNUsocialPhotos/actions/photoupload.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/GNUsocialPhotos/actions/photoupload.php')
-rw-r--r--plugins/GNUsocialPhotos/actions/photoupload.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/GNUsocialPhotos/actions/photoupload.php b/plugins/GNUsocialPhotos/actions/photoupload.php
index 216f1768f..84caf4747 100644
--- a/plugins/GNUsocialPhotos/actions/photoupload.php
+++ b/plugins/GNUsocialPhotos/actions/photoupload.php
@@ -137,7 +137,8 @@ class PhotouploadAction extends Action
$uri = 'http://' . common_config('site', 'server') . '/file/' . $filename;
$thumb_uri = 'http://' . common_config('site', 'server') . '/file/thumb.' . $filename;
$profile_id = $cur->id;
- GNUsocialPhoto::saveNew($profile_id, $thumb_uri, $uri, 'web');
+ //scorbett: the second arg below should be set to the album ID
+ GNUsocialPhoto::saveNew($profile_id, 0, $thumb_uri, $uri, 'web');
}
}