summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-29 06:34:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-29 06:34:20 +0000
commit10f8a1ec3378c3540a35f73e986cc284f2e66f1d (patch)
tree8eaa95bd8a07b745152c5b7de09c89092a02613c /lib
parent52423ea7ff2ac0eaad39162b2c911e61d9f9ec4f (diff)
downloadampache-10f8a1ec3378c3540a35f73e986cc284f2e66f1d.tar.gz
ampache-10f8a1ec3378c3540a35f73e986cc284f2e66f1d.tar.bz2
ampache-10f8a1ec3378c3540a35f73e986cc284f2e66f1d.zip
added a db refresh of MPD on catalog add if its enabled and your using the file method also fixed a problem with having a single album art method when doing album art searches
Diffstat (limited to 'lib')
-rw-r--r--lib/class/album.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index 17befbd9..b2db78a0 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -158,7 +158,7 @@ class Album {
$album_art_order = array('id3','folder','amazon');
}
elseif (!is_array($config_value)) {
- $album_art_order = array_push($album_art_order,$config_value);
+ array_push($album_art_order,$config_value);
}
else {
$album_art_order = array_merge($album_art_order, conf('album_art_order'));