aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-05 22:16:55 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-05 22:16:55 +0000
commitce396a3cf4cce3e74b79bb4c4512066404034c47 (patch)
tree8bf65399828ec1b80b5b2b2dea7bbe89bd81feab /views
parentf160b9a366883dd4cc88cf7bbffefc240fa42757 (diff)
downloadelgg-ce396a3cf4cce3e74b79bb4c4512066404034c47.tar.gz
elgg-ce396a3cf4cce3e74b79bb4c4512066404034c47.tar.bz2
fixed bug where image variable was being overwritten in image view
Diffstat (limited to 'views')
-rw-r--r--views/default/object/image.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index a97916b7a..292399074 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -95,8 +95,8 @@
$count = get_entities("object","image", $album->guid, '', 999);
$_SESSION['image_sort'] = array();
- foreach ($count as $image) {
- array_push($_SESSION['image_sort'], $image->guid);
+ foreach ($count as $img) {
+ array_push($_SESSION['image_sort'], $img->guid);
}
if ($_SESSION['image_sort'])