aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2013-09-15 11:45:15 -0700
committerThomas Willingham <beardyunixer@beardyunixer.com>2013-09-15 11:45:15 -0700
commit9442f2fa7102e7745d9aa4a6646cd5d3a3531e95 (patch)
tree21527a6999e4b856f6ba189b377a20462e4df564
parent033a9f67e7310e7ec1185b9a673abd9452600476 (diff)
parente1133ec1d0ab554fedf08eb2b2cd1f91008340ab (diff)
downloadvolse-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.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') {