summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/part.breadcrumb.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-24 17:53:50 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-24 17:58:52 +0200
commit694b1d397dd05a8d00dfbd6ca2a34039ca4b2ca3 (patch)
tree08ef307793ed923151c5bc7f49ccda19dde8e01b /apps/files/templates/part.breadcrumb.php
parent0c2a4264c9f42c045e3b8b0f9c0f359d5c1025e0 (diff)
downloadnextcloud-server-694b1d397dd05a8d00dfbd6ca2a34039ca4b2ca3.tar.gz
nextcloud-server-694b1d397dd05a8d00dfbd6ca2a34039ca4b2ca3.zip
Revert e1a4fe98908dbf8f9e795fd852b231381d4f3ce4
Diffstat (limited to 'apps/files/templates/part.breadcrumb.php')
-rw-r--r--apps/files/templates/part.breadcrumb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/part.breadcrumb.php b/apps/files/templates/part.breadcrumb.php
index b75efb64d1b..71b695f65f8 100644
--- a/apps/files/templates/part.breadcrumb.php
+++ b/apps/files/templates/part.breadcrumb.php
@@ -1,6 +1,6 @@
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
$crumb = $_["breadcrumb"][$i]; ?>
<div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg" data-dir='<?php echo urlencode($crumb["dir"]);?>' style='background-image:url("<?php echo OCP\image_path('core','breadcrumb.png');?>")'>
- <a href="<?php echo urlencode($_['baseURL'].$crumb["dir"]); ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
+ <a href="<?php echo $_['baseURL'].urlencode($crumb["dir"]); ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
</div>
<?php endfor;?>