summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
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