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 /lib/class/album.class.php | |
parent | d693ae5cb0e64e7071290a937fe6b9ad221e0ae6 (diff) | |
download | ampache-d6075fe25c39303425f7291b9fb3658217c48097.tar.gz ampache-d6075fe25c39303425f7291b9fb3658217c48097.tar.bz2 ampache-d6075fe25c39303425f7291b9fb3658217c48097.zip |
sync to trunk
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r-- | lib/class/album.class.php | 3 |
1 files changed, 2 insertions, 1 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; |