summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/templates
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-03-04 12:12:27 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-03-04 12:12:27 +0100
commitccc4102cd9dbdd370505d7e87e0a2c2aa1677511 (patch)
treee88355642418bca367c6608f9582e8b882ea8462 /apps/files_trashbin/templates
parent52919fa94bae81125a3967a61172185df495082c (diff)
downloadnextcloud-server-ccc4102cd9dbdd370505d7e87e0a2c2aa1677511.tar.gz
nextcloud-server-ccc4102cd9dbdd370505d7e87e0a2c2aa1677511.zip
fix p() call
Diffstat (limited to 'apps/files_trashbin/templates')
-rw-r--r--apps/files_trashbin/templates/part.list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/templates/part.list.php b/apps/files_trashbin/templates/part.list.php
index 176ed6f03b3..92a38bd2635 100644
--- a/apps/files_trashbin/templates/part.list.php
+++ b/apps/files_trashbin/templates/part.list.php
@@ -9,7 +9,7 @@
$directory = str_replace('+', '%20', urlencode($file['directory']));
$directory = str_replace('%2F', '/', $directory); ?>
<tr data-filename="<?php p($file['name']);?>"
- data-type="<?php p(($file['type'] == 'dir')?'dir':'file')?>"
+ data-type="<?php ($file['type'] == 'dir')?p('dir'):p('file')?>"
data-mime="<?php p($file['mimetype'])?>"
data-permissions='<?php p($file['permissions']); ?>'
<?php if ( $_['dirlisting'] ): ?>