summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2006-11-25 22:58:24 +0000
committerpb1dft <pb1dft@ampache>2006-11-25 22:58:24 +0000
commit0635397ab2bd5afc6789cef56b9a9d87bd52bcfd (patch)
tree931bc00aac44b959f5ed3d6efc0a673335357dea /albums.php
parent9d17e8cc950234277f156b91447696a2d40a0c21 (diff)
downloadampache-0635397ab2bd5afc6789cef56b9a9d87bd52bcfd.tar.gz
ampache-0635397ab2bd5afc6789cef56b9a9d87bd52bcfd.tar.bz2
ampache-0635397ab2bd5afc6789cef56b9a9d87bd52bcfd.zip
Fixed some stuff on album art added ability to sort albums on name/year in artist.php
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/albums.php b/albums.php
index 553330ba..e679eafb 100644
--- a/albums.php
+++ b/albums.php
@@ -91,7 +91,7 @@ elseif ($_REQUEST['action'] === 'find_art') {
$search = $artist . " " . $album_name;
//Find out if the cover url is a local filename or an url
- if (empty($_FILES['file'])){
+ if (empty($_FILES['file']['tmp_name'])){
$coverurl = $_REQUEST['cover'];
// Attempt to find the art with what we've got