aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-09 20:50:33 -0700
committerredmatrix <git@macgirvin.com>2016-08-09 20:50:33 -0700
commit5238a27ab309c205bafad83a9ab16d2af7646d32 (patch)
treeaac79d7630c82fedac982060aba1b5e3db954dbf /include
parent12162f53b443a3f794416002e1d9af0d57690b39 (diff)
downloadvolse-hubzilla-5238a27ab309c205bafad83a9ab16d2af7646d32.tar.gz
volse-hubzilla-5238a27ab309c205bafad83a9ab16d2af7646d32.tar.bz2
volse-hubzilla-5238a27ab309c205bafad83a9ab16d2af7646d32.zip
function order reversed
Diffstat (limited to 'include')
-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) {