aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaZderMind2014-12-13 13:41:21 +0100
committerMaZderMind2014-12-13 13:41:21 +0100
commit2aa691a677203a4f79c0d7e4dfb86f06703bc8e2 (patch)
tree198ce24133416bc2934b1573e09352766e2484b9 /lib
parent63ec39cfe056d015df4ad42ef6738025bb98addd (diff)
link player-page from program
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 3b699ad..dcd0368 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -12,7 +12,7 @@ function link_room($room)
return rawurlencode($room).'/';
}
-function link_player($room, $format, $translated = false)
+function link_player($room, $format = 'sd', $translated = false)
{
$isDefaultFormat = in_array($format, array('sd', 'video'));