summaryrefslogtreecommitdiffstats
path: root/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'image.php')
-rw-r--r--image.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/image.php b/image.php
index 41e35c9a..66f14589 100644
--- a/image.php
+++ b/image.php
@@ -72,9 +72,9 @@ switch ($_REQUEST['type']) {
// Attempt to pull art from the database
$r = $album->get_art();
- if (isset($r->art)) {
- $art = $r->art;
- $mime = $r->art_mime;
+ if (isset($r['art'])) {
+ $art = $r['art'];
+ $mime = $r['art_mime'];
}
else {
header('Content-type: image/gif');