summaryrefslogtreecommitdiffstats
path: root/lib/class/tmpplaylist.class.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2012-10-12 16:31:27 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-10-15 13:20:27 -0400
commit8c4921f5f388f1f81000b2fbef9da35b0787e4d1 (patch)
tree91e76434642ba226ab44e3872478b67489a6783d /lib/class/tmpplaylist.class.php
parentd7c0531871e2e67b55fcfc5277a863a35b7f0b6c (diff)
downloadampache-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.php6
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;