diff options
-rw-r--r-- | views/default/object/image.php | 4 |
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']) |