diff options
Diffstat (limited to 'image.php')
-rw-r--r-- | image.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'); |