summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/templates/part.list.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/templates/part.list.php')
-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'] ): ?>