fix photo file browser

This commit is contained in:
Michael Johnston 2013-09-15 14:36:54 -04:00
parent 033a9f67e7
commit e1133ec1d0

View File

@ -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') {