diff options
Diffstat (limited to 'include/oembed.php')
-rwxr-xr-x | include/oembed.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/oembed.php b/include/oembed.php index fe3a3c33c..5c6f6be79 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -216,8 +216,8 @@ function oembed_fetch_url($embedurl){ logger('oembed html was purified. original: ' . $orig . ' purified: ' . $j->html, LOGGER_DEBUG, LOG_INFO); } - $orig_len = trim(mb_strlen($orig)); - $new_len = trim(mb_strlen($j->html)); + $orig_len = mb_strlen(trim($orig)); + $new_len = mb_strlen(trim($j->html)); if(! $new_len) $j->type = 'error'; elseif($orig_len) { |