summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-19 12:16:55 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-19 12:16:55 +0200
commit48f0c54261bfa2d2f20864b0d41db8f1df6f1777 (patch)
treeb9a0a3fea13696a7c740e810e16f98a20e362039 /apps/files
parentf2702ff1ca45d72300eed5dfa58ebc19aa6e9910 (diff)
downloadnextcloud-server-48f0c54261bfa2d2f20864b0d41db8f1df6f1777.tar.gz
nextcloud-server-48f0c54261bfa2d2f20864b0d41db8f1df6f1777.zip
style fixes for preview lib
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/templates/part.list.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 1ed8e0cf91b..899fb04e252 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -3,7 +3,8 @@
$totaldirs = 0;
$totalsize = 0; ?>
<?php foreach($_['files'] as $file):
- $relativePath = substr($file['path'], 6); //strlen('files/') => 6
+ //strlen('files/') => 6
+ $relativePath = substr($file['path'], 6);
$totalsize += $file['size'];
if ($file['type'] === 'dir') {
$totaldirs++;