diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2013-09-15 11:45:15 -0700 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2013-09-15 11:45:15 -0700 |
commit | 9442f2fa7102e7745d9aa4a6646cd5d3a3531e95 (patch) | |
tree | 21527a6999e4b856f6ba189b377a20462e4df564 | |
parent | 033a9f67e7310e7ec1185b9a673abd9452600476 (diff) | |
parent | e1133ec1d0ab554fedf08eb2b2cd1f91008340ab (diff) | |
download | volse-hubzilla-9442f2fa7102e7745d9aa4a6646cd5d3a3531e95.tar.gz volse-hubzilla-9442f2fa7102e7745d9aa4a6646cd5d3a3531e95.tar.bz2 volse-hubzilla-9442f2fa7102e7745d9aa4a6646cd5d3a3531e95.zip |
Merge pull request #137 from unary/fbrowser
fix photo file browser
-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') { |