diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-27 23:36:52 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-27 23:36:52 +0100 |
commit | b93ebe18602b6113f778f148a3f0a83f6dd1d391 (patch) | |
tree | 6f3c8321befc71185093189d88e9b18d12f81dbd /apps/files/templates/part.list.php | |
parent | 7311c2bb5d724c7c5e3c5ade6b26e3358597a04e (diff) | |
parent | 2f036bcc5425bc1b67f7caad4da78ab3efd0fba2 (diff) | |
download | nextcloud-server-b93ebe18602b6113f778f148a3f0a83f6dd1d391.tar.gz nextcloud-server-b93ebe18602b6113f778f148a3f0a83f6dd1d391.zip |
Merge master
Diffstat (limited to 'apps/files/templates/part.list.php')
-rw-r--r-- | apps/files/templates/part.list.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php index cdd157b27e4..712625ce631 100644 --- a/apps/files/templates/part.list.php +++ b/apps/files/templates/part.list.php @@ -28,9 +28,9 @@ > <?php if(!isset($_['readonly']) || !$_['readonly']): ?><input type="checkbox" /><?php endif; ?> <?php if($file['type'] == 'dir'): ?> - <a class="name" href="<?php p($_['baseURL'].$directory.'/'.$name); ?>" title=""> + <a class="name" href="<?php p(rtrim($_['baseURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title=""> <?php else: ?> - <a class="name" href="<?php p($_['downloadURL'].$directory.'/'.$name); ?>" title=""> + <a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title=""> <?php endif; ?> <span class="nametext"> <?php if($file['type'] == 'dir'):?> |