Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX updated oembedUrl app_category check

  • Loading branch information...
commit 84d97b6d2a2433977971c66c64f7e7a2d8258f5c 1 parent e582935
mightycoco mightycoco authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  oembed/Oembed.php
2  oembed/Oembed.php
View
@@ -134,7 +134,7 @@ public static function get_oembed_from_url($url, $type = false, array $options =
// If autodescovery failed the resource might be a direct link to a file
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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.