BUGFIX updated oembedUrl app_category check

This commit is contained in:
mightycoco 2012-06-25 17:23:26 +02:00
parent e582935582
commit 84d97b6d2a

View File

@ -134,7 +134,7 @@ class Oembed {
// If autodescovery failed the resource might be a direct link to a file // If autodescovery failed the resource might be a direct link to a file
if(!$oembedUrl) { if(!$oembedUrl) {
if(File::get_app_category(File::get_file_extension($url))) { if(File::get_app_category(File::get_file_extension($url)) == "image") {
return new Oembed_Result($url, $url, $type, $options); return new Oembed_Result($url, $url, $type, $options);
} }
} }