summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-19 00:20:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-19 00:20:07 +0000
commit054b03b2abe487b9283cadc7932ff1423dadbef7 (patch)
treecb7470ba989d9ed8fbcbaa89ba486653814b405d
parent04aff321add826cc32509fc10a4f6e1ee80fb487 (diff)
downloadampache-054b03b2abe487b9283cadc7932ff1423dadbef7.tar.gz
ampache-054b03b2abe487b9283cadc7932ff1423dadbef7.tar.bz2
ampache-054b03b2abe487b9283cadc7932ff1423dadbef7.zip
fixed typo found by nikk
-rw-r--r--albumart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/albumart.php b/albumart.php
index 9d21b411..db56c707 100644
--- a/albumart.php
+++ b/albumart.php
@@ -66,7 +66,7 @@ switch ($_REQUEST['type']) {
} // else no image
// Print the album art
- $extension= explode("/",$mime);
+ $data = explode("/",$mime);
$extension = $data['1'];
header("Content-type: $mime");
header("Content-Disposition: filename=" . $album->name . "." . $extension);