diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2011-06-24 17:48:02 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2011-06-24 17:48:02 -0400 |
commit | 6fd6cc1fcc62f0d4e4af767b4119b388d9a3221b (patch) | |
tree | 6845969fbaf1d18b0f49f20e663e5d771c0abf4e /lib/class/artist.class.php | |
parent | cd528e99499bcd4bc26074192bef8f2fb93a29e0 (diff) | |
download | ampache-6fd6cc1fcc62f0d4e4af767b4119b388d9a3221b.tar.gz ampache-6fd6cc1fcc62f0d4e4af767b4119b388d9a3221b.tar.bz2 ampache-6fd6cc1fcc62f0d4e4af767b4119b388d9a3221b.zip |
Add default value for parameter on Artist::get_albums
Reported by Michel Stam
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r-- | lib/class/artist.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php index 6007dd3f..583cab8c 100644 --- a/lib/class/artist.class.php +++ b/lib/class/artist.class.php @@ -146,7 +146,7 @@ class Artist extends database_object { * gets the album ids that this artist is a part * of */ - public function get_albums($catalog) { + public function get_albums($catalog = null) { if($catalog) { $catalog_join = "LEFT JOIN `catalog` ON `catalog`.`id` = `song`.`catalog`"; |