aboutsummaryrefslogtreecommitdiffstats
path: root/mod/fbrowser.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-15 19:09:21 -0700
committerfriendica <info@friendica.com>2013-09-15 19:09:21 -0700
commit603319bf6342c8d0571454ecfec45825bc58f615 (patch)
tree35d5265df895f1445df6eac7b497c8d9886cae18 /mod/fbrowser.php
parentb3575484c7c8577f1ea648364fd979d7c551d4b9 (diff)
parent9442f2fa7102e7745d9aa4a6646cd5d3a3531e95 (diff)
downloadvolse-hubzilla-603319bf6342c8d0571454ecfec45825bc58f615.tar.gz
volse-hubzilla-603319bf6342c8d0571454ecfec45825bc58f615.tar.bz2
volse-hubzilla-603319bf6342c8d0571454ecfec45825bc58f615.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'mod/fbrowser.php')
-rw-r--r--mod/fbrowser.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/fbrowser.php b/mod/fbrowser.php
index 31004c0d8..baacfe56b 100644
--- a/mod/fbrowser.php
+++ b/mod/fbrowser.php
@@ -53,7 +53,8 @@ function fbrowser_content($a){
function files1($rr){
global $a;
- $types = Photo::supportedTypes();
+ $ph = photo_factory('');
+ $types = $ph->supportedTypes();
$ext = $types[$rr['type']];
if($a->get_template_engine() === 'internal') {