From a1f08342c8b8502197159a9fd78e48e6cead4ea0 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 31 Jul 2010 19:22:47 +0000 Subject: improved the upgrade system and moved albums to use an ordered list for images --- actions/upload.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actions/upload.php') 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); -- cgit v1.2.3