aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/river/object/album/create.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/default/river/object/album/create.php b/views/default/river/object/album/create.php
index 5f8b07965..e4e2ce4bb 100644
--- a/views/default/river/object/album/create.php
+++ b/views/default/river/object/album/create.php
@@ -17,8 +17,7 @@
$string .= "<div class=\"river_content\">";
- // display the simple image views. Uses: via 'object/image.php'
- $images = get_entities("object", "image", $file_guid, 'time_created desc', 7);
+ $images = get_entities("object", "image", $album->guid, 'time_created desc', 7);
if (count($images)) {
foreach($images as $image){