diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-18 21:20:03 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-18 21:20:03 +0000 |
commit | d6075fe25c39303425f7291b9fb3658217c48097 (patch) | |
tree | dff8bd61814d636c23c5bfc1b77ffddb7ce0036c | |
parent | d693ae5cb0e64e7071290a937fe6b9ad221e0ae6 (diff) | |
download | ampache-d6075fe25c39303425f7291b9fb3658217c48097.tar.gz ampache-d6075fe25c39303425f7291b9fb3658217c48097.tar.bz2 ampache-d6075fe25c39303425f7291b9fb3658217c48097.zip |
sync to trunk
-rw-r--r-- | lib/class/album.class.php | 3 | ||||
-rw-r--r-- | lib/class/song.class.php | 1 |
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"; |