fix p() call

This commit is contained in:
Björn Schießle 2013-03-04 12:12:27 +01:00
parent 52919fa94b
commit ccc4102cd9

View file

@ -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'] ): ?>