aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2016-08-10 13:49:48 +0200
committerzottel <github@zottel.net>2016-08-10 13:49:48 +0200
commit8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb (patch)
tree499ab4cac571c35f6d0758f157ed85af46c8b57c /include/oembed.php
parent6ba142fd33a74a7bdb4f3dfc8c0c0f507c293a2e (diff)
parent7a557d31e026705fc3bd2d4f39c4c679449cef56 (diff)
downloadvolse-hubzilla-8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb.tar.gz
volse-hubzilla-8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb.tar.bz2
volse-hubzilla-8706cbe1c413ed8fcfb7dcb35c7b319d2d1116bb.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'include/oembed.php')
-rwxr-xr-xinclude/oembed.php4
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) {