summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php
index 2750cec5..77f34f67 100644
--- a/play/index.php
+++ b/play/index.php
@@ -103,6 +103,7 @@ if (Config::get('access_control')) {
*/
if ($demo_id) {
$democratic = new Democratic($demo_id);
+ $democratic->set_parent();
/* This takes into account votes etc and removes the */
$song_id = $democratic->get_next_object();
}