summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-07-30 12:29:12 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-07-30 12:33:54 +0200
commitac6a3133eca86b853da838ae310534b76e9fb662 (patch)
treed74eab54dcc560ca77b5561892363971d710ee19 /apps/files/templates
parent7425efade78a04f20cb3cc83f964c6a00094b6ce (diff)
downloadnextcloud-server-ac6a3133eca86b853da838ae310534b76e9fb662.tar.gz
nextcloud-server-ac6a3133eca86b853da838ae310534b76e9fb662.zip
style fixes
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/part.list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index a957a94f332..ab1b91167db 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -3,7 +3,7 @@
$totaldirs = 0;
$totalsize = 0; ?>
<?php foreach($_['files'] as $file):
- $relativePath = substr($file['path'], 6);
+ $relativePath = substr($file['path'], 6); //strlen('files/') => 6
$totalsize += $file['size'];
if ($file['type'] === 'dir') {
$totaldirs++;