From 1dad181acbcf711951e2785ee8c3902633c1b237 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 28 Aug 2015 11:39:52 +0200 Subject: [PATCH] See issue 1864. Bugfix for the Oembed handling. --- include/oembed.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/oembed.php b/include/oembed.php index cbd856648f..d4d7ce05e1 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -67,9 +67,6 @@ function oembed_fetch_url($embedurl, $no_rich_type = false){ $txt=trim($txt); - if ($txt==false || $txt=="") - return false; - if ($txt[0]!="{") $txt='{"type":"error"}'; else //save in cache