diff options
Diffstat (limited to 'actions/upload.php')
-rw-r--r-- | actions/upload.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/upload.php b/actions/upload.php index b1eb4efe1..88b000706 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -244,6 +244,10 @@ if (count($uploaded_images) && $img_river_view == "1") { // update image repo size create_metadata($album->container_guid, "image_repo_size", $image_repo_size, 'integer', $album->container_guid); +if (count($uploaded_images) > 0) { + $album->prependImageList($uploaded_images); +} + // plugins can register to be told when a Tidypics album has had images added trigger_elgg_event('upload', 'tp_album', $album); |