diff options
-rwxr-xr-x | docs/CHANGELOG | 1 | ||||
-rw-r--r-- | lib/class/catalog.class.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index ae26e35d..d94002ec 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,7 @@ -------------------------------------------------------------------------- v.3.4-Alpha4 + - Fixed Album Art dump bin script - Added paging to the Playlist Song view - Fixed error on catalog Update All - Fixed Public registration page, and simplified logic diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index a0cb2ca7..e7942444 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -823,8 +823,8 @@ class Catalog { if (!$preferred_filename || strstr($preferred_filename,"%")) { $preferred_filename = "folder.$extension"; } $file = "$dir/$preferred_filename"; - if ($file_handle = @fopen($file,"w")) { - if (fwrite($file_handle, $image->art)) { + if ($file_handle = fopen($file,"w")) { + if (fwrite($file_handle, $image['0']['raw'])) { $i++; if (!($i%100)) { echo "Written: $i. . .\n"; |