summaryrefslogtreecommitdiffstats
path: root/lib/class/democratic.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-11 03:01:24 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-11 03:01:24 +0000
commit151afa4ec1f163dd607548749532ce387f81464f (patch)
tree92aad36fb7ba06069fd5e05efd10b9ed1367c3f4 /lib/class/democratic.class.php
parentb49a271f889a26e40b16fb6f78b47f2e320b40c8 (diff)
downloadampache-151afa4ec1f163dd607548749532ce387f81464f.tar.gz
ampache-151afa4ec1f163dd607548749532ce387f81464f.tar.bz2
ampache-151afa4ec1f163dd607548749532ce387f81464f.zip
assoicate the democratic playback with the user who sends the url
Diffstat (limited to 'lib/class/democratic.class.php')
-rw-r--r--lib/class/democratic.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/democratic.class.php b/lib/class/democratic.class.php
index a70d62e6..88bd5439 100644
--- a/lib/class/democratic.class.php
+++ b/lib/class/democratic.class.php
@@ -255,7 +255,7 @@ class Democratic extends tmpPlaylist {
*/
public function play_url() {
- $link = Stream::get_base_url() . 'demo_id=' . scrub_out($this->id);
+ $link = Stream::get_base_url() . 'uid=' . scrub_out($GLOBALS['user']->id) . '&demo_id=' . scrub_out($this->id);
return $link;