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/tmpplaylist.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/tmpplaylist.class.php')
-rw-r--r-- | lib/class/tmpplaylist.class.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/class/tmpplaylist.class.php b/lib/class/tmpplaylist.class.php index ba870a9b..ed557b0d 100644 --- a/lib/class/tmpplaylist.class.php +++ b/lib/class/tmpplaylist.class.php @@ -162,8 +162,10 @@ class tmpPlaylist extends database_object { while ($results = Dba::fetch_assoc($db_results)) { $key = $results['id']; - $items[$key] = array($results['object_type'], - $results['object_id']); + $items[$key] = array( + 'object_type' => $results['object_type'], + 'object_id' => $results['object_id'] + ); } return $items; |