summaryrefslogtreecommitdiffstats
path: root/lib/class/catalog.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-19 08:34:52 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-19 08:34:52 +0000
commitb372d114dce875b9e69230fe903780ae50195584 (patch)
treef2dd58be35f5ec8c7ab4cee55decec3b2b931bae /lib/class/catalog.class.php
parentf4d94f034e6ca26d37244028d8ccb08ddbab0e8c (diff)
downloadampache-b372d114dce875b9e69230fe903780ae50195584.tar.gz
ampache-b372d114dce875b9e69230fe903780ae50195584.tar.bz2
ampache-b372d114dce875b9e69230fe903780ae50195584.zip
fixed an album art config parsing problem, Thanks Karl Hungus more work on xml class and api mojo, handshake logic in place
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r--lib/class/catalog.class.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 31d7d7c6..a6dabbbe 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -545,6 +545,13 @@ class Catalog {
*/
public function get_album_art($catalog_id=0,$all='') {
+
+ // Make sure they've actually got methods
+ $album_art_order = Config::get('album_art_order');
+ if (empty($album_art_order)) {
+ return true;
+ }
+
// Prevent the script from timing out
set_time_limit(0);