aboutsummaryrefslogtreecommitdiffstats
path: root/mod/fbrowser.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2015-12-09 01:39:20 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2015-12-09 01:39:20 +0100
commit60b0f9af909b6f944edd913cb96915cc8c3b7ec3 (patch)
tree0df872d85d24118cce12a1a1b0cb1e7bfc4f3adb /mod/fbrowser.php
parent9d04406f9ae8a91f8ec5f3be7f89471ac5605522 (diff)
parent29ac533cc908a57115d52a8659bce348b36ae6fa (diff)
downloadvolse-hubzilla-60b0f9af909b6f944edd913cb96915cc8c3b7ec3.tar.gz
volse-hubzilla-60b0f9af909b6f944edd913cb96915cc8c3b7ec3.tar.bz2
volse-hubzilla-60b0f9af909b6f944edd913cb96915cc8c3b7ec3.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'mod/fbrowser.php')
-rw-r--r--mod/fbrowser.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/mod/fbrowser.php b/mod/fbrowser.php
index 90b554edd..13abbfd8a 100644
--- a/mod/fbrowser.php
+++ b/mod/fbrowser.php
@@ -57,13 +57,8 @@ function fbrowser_content($a){
$types = $ph->supportedTypes();
$ext = $types[$rr['type']];
- if($a->get_template_engine() === 'internal') {
- $filename_e = template_escape($rr['filename']);
- }
- else {
- $filename_e = $rr['filename'];
- }
-
+ $filename_e = $rr['filename'];
+
return array(
$a->get_baseurl() . '/photo/' . $rr['resource_id'] . '-' . $rr['hiq'] . '.' .$ext,
$filename_e,