diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-04-28 00:07:30 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-04-28 00:07:30 +0000 |
commit | df1c8d74d5326e7342949aacce9fcd56eba7919f (patch) | |
tree | fa7d395fb659de3daf04b0449edcf81589f13a1e /lib/class/democratic.class.php | |
parent | 08840e8ea06f957d1196bf867d44cc8f2ad0fbcd (diff) | |
download | ampache-df1c8d74d5326e7342949aacce9fcd56eba7919f.tar.gz ampache-df1c8d74d5326e7342949aacce9fcd56eba7919f.tar.bz2 ampache-df1c8d74d5326e7342949aacce9fcd56eba7919f.zip |
Clean up democratic/tmpplaylist relationship to work under E_STRICT.
Diffstat (limited to 'lib/class/democratic.class.php')
-rw-r--r-- | lib/class/democratic.class.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/class/democratic.class.php b/lib/class/democratic.class.php index 1c6afbdc..9a646859 100644 --- a/lib/class/democratic.class.php +++ b/lib/class/democratic.class.php @@ -550,7 +550,11 @@ class Democratic extends tmpPlaylist { if ($db_results) { $insert_id = Dba::insert_id(); - parent::create($insert_id,'vote','song'); + parent::create(array( + 'session_id' => $insert_id, + 'type' => 'vote', + 'object_type' => 'song' + )); } return $db_results; |