summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-14 05:44:59 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-14 05:44:59 +0000
commite99f7c6112a463e51be0aafecdc5189578c7373f (patch)
tree3a12776d0b6d4d5bcfd83897b39662d40139d871 /play
parent94f37cd899d3b5bf8b95f837f0f25839f4556f48 (diff)
downloadampache-e99f7c6112a463e51be0aafecdc5189578c7373f.tar.gz
ampache-e99f7c6112a463e51be0aafecdc5189578c7373f.tar.bz2
ampache-e99f7c6112a463e51be0aafecdc5189578c7373f.zip
fixed the issue with a lack of gettext (define ngettext if it does not exist)
Diffstat (limited to 'play')
-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();
}