summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/albums.php b/albums.php
index 9c97163b..ef5b0aa5 100644
--- a/albums.php
+++ b/albums.php
@@ -116,11 +116,10 @@ switch ($_REQUEST['action']) {
if (count($images)) {
// We don't want to store raw's in here so we need to strip them out into a seperate array
foreach ($images as $index=>$image) {
- if (isset($image[$index]['raw'])) {
+ if ($image['raw']) {
unset($images[$index]['raw']);
}
} // end foreach
-
// Store the results for further use
$_SESSION['form']['images'] = $images;
require_once Config::get('prefix') . '/templates/show_album_art.inc.php';