diff options
author | Brion Vibber <brion@status.net> | 2010-11-08 13:27:54 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-11-08 13:27:54 -0800 |
commit | 883f7a6c0b1464f6723e51bf99d06641a612f968 (patch) | |
tree | 59c2d6cf81a84d629098e69d52456081fdbed333 /lib | |
parent | 719b480eaaa3459497c008839606a96cc8f368e1 (diff) |
Avoid marking files as attachments that are not locally uploaded, unless they're really oembedable. HTML-y things now excluded properly.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 8f2a9f173..e6b62f750 100644 --- a/lib/util.php +++ b/lib/util.php @@ -877,7 +877,7 @@ function common_linkify($url) { } if (!empty($f)) { - if ($f->getEnclosure() || File_oembed::staticGet('file_id',$f->id)) { + if ($f->getEnclosure()) { $is_attachment = true; $attachment_id = $f->id; |