diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-10-12 16:31:27 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-10-15 13:20:27 -0400 |
commit | 8c4921f5f388f1f81000b2fbef9da35b0787e4d1 (patch) | |
tree | 91e76434642ba226ab44e3872478b67489a6783d /lib/class/api.class.php | |
parent | d7c0531871e2e67b55fcfc5277a863a35b7f0b6c (diff) | |
download | ampache-8c4921f5f388f1f81000b2fbef9da35b0787e4d1.tar.gz ampache-8c4921f5f388f1f81000b2fbef9da35b0787e4d1.tar.bz2 ampache-8c4921f5f388f1f81000b2fbef9da35b0787e4d1.zip |
Consistently use 'object_type' in playlist returns
Diffstat (limited to 'lib/class/api.class.php')
-rw-r--r-- | lib/class/api.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/api.class.php b/lib/class/api.class.php index b204ad7b..75fc2a27 100644 --- a/lib/class/api.class.php +++ b/lib/class/api.class.php @@ -568,7 +568,7 @@ class Api { $items = $playlist->get_items(); foreach ($items as $object) { - if ($object['type'] == 'song') { + if ($object['object_type'] == 'song') { $songs[] = $object['object_id']; } } // end foreach |