From ce396a3cf4cce3e74b79bb4c4512066404034c47 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 5 Sep 2009 22:16:55 +0000 Subject: fixed bug where image variable was being overwritten in image view --- views/default/object/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views') 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']) -- cgit v1.2.3