diff options
author | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2013-09-15 14:36:54 -0400 |
---|---|---|
committer | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2013-09-15 14:36:54 -0400 |
commit | e1133ec1d0ab554fedf08eb2b2cd1f91008340ab (patch) | |
tree | 21527a6999e4b856f6ba189b377a20462e4df564 /mod/fbrowser.php | |
parent | 033a9f67e7310e7ec1185b9a673abd9452600476 (diff) | |
download | volse-hubzilla-e1133ec1d0ab554fedf08eb2b2cd1f91008340ab.tar.gz volse-hubzilla-e1133ec1d0ab554fedf08eb2b2cd1f91008340ab.tar.bz2 volse-hubzilla-e1133ec1d0ab554fedf08eb2b2cd1f91008340ab.zip |
fix photo file browser
Diffstat (limited to 'mod/fbrowser.php')
-rw-r--r-- | mod/fbrowser.php | 3 |
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') { |