aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Johnston <michaelgeorgejohnston@gmail.com>2013-09-15 14:36:54 -0400
committerMichael Johnston <michaelgeorgejohnston@gmail.com>2013-09-15 14:36:54 -0400
commite1133ec1d0ab554fedf08eb2b2cd1f91008340ab (patch)
tree21527a6999e4b856f6ba189b377a20462e4df564
parent033a9f67e7310e7ec1185b9a673abd9452600476 (diff)
downloadvolse-hubzilla-e1133ec1d0ab554fedf08eb2b2cd1f91008340ab.tar.gz
volse-hubzilla-e1133ec1d0ab554fedf08eb2b2cd1f91008340ab.tar.bz2
volse-hubzilla-e1133ec1d0ab554fedf08eb2b2cd1f91008340ab.zip
fix photo file browser
-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') {