summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/class/album.class.php3
-rw-r--r--lib/class/song.class.php1
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index 87964a58..e20e2373 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -800,7 +800,8 @@ class Album extends database_object {
// Push the image into the database
$sql = "REPLACE INTO `album_data` SET `art` = '" . Dba::escape($image) . "'," .
" `art_mime` = '" . Dba::escape($mime) . "'" .
- ", `album_id` = '$this->id'";
+ ", `album_id` = '$this->id',"
+ "`thumb` = NULL, `thumb_mime`=NULL";
$db_results = Dba::query($sql);
return true;
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 1fa696ef..e7fc098a 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -209,7 +209,6 @@ class Song extends database_object {
break;
case 'mpc':
$this->mime = "audio/x-musepack";
- $this->type = "MPC";
break;
default:
$this->mime = "audio/mpeg";