aboutsummaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
authorMaZderMind2014-10-14 13:40:56 +0200
committerMaZderMind2014-10-14 13:40:56 +0200
commit869303b5263f3f2f77cd59fe035bca075697db49 (patch)
tree7d7513fdfe164c8dadcbac81d0845621116fb404 /lib/helper.php
parentb5f7004080f2ddf89e672aaa8ddb197703f8cf74 (diff)
always end with a slash
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 3e5e8a6..7f5c6ce 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -12,7 +12,7 @@ function link_room($room)
function link_player($room, $format, $translated = false)
{
- return rawurlencode($room).'/'.rawurlencode($format).($translated ? '/translated' : '');
+ return rawurlencode($room).'/'.rawurlencode($format).'/'.($translated ? 'translated/' : '');
}
function baseurl()