diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-04 13:58:02 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-04 13:58:02 -0800 |
commit | af82aab3a649c4384f1d28f76451c5830ddaeb26 (patch) | |
tree | 997ad87ce6a36cb5639e6c40a35ac73aee0a1cbd /include | |
parent | 51b4b6216f902464f80b088666f3c91af0d3f333 (diff) | |
parent | de0fab78edd469ee0b6572e157e901ccf0078c6a (diff) | |
download | volse-hubzilla-af82aab3a649c4384f1d28f76451c5830ddaeb26.tar.gz volse-hubzilla-af82aab3a649c4384f1d28f76451c5830ddaeb26.tar.bz2 volse-hubzilla-af82aab3a649c4384f1d28f76451c5830ddaeb26.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into xdev_merge
Diffstat (limited to 'include')
-rw-r--r-- | include/network.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php index 4c9813768..f976dcc35 100644 --- a/include/network.php +++ b/include/network.php @@ -711,9 +711,9 @@ function scale_external_images($s, $include_link = true, $scale_replace = false) foreach($matches as $mtch) { logger('data: ' . $mtch[2] . ' ' . $mtch[3]); - if(substr($mtch[1],0,1) == '=') { + if(substr($mtch[2],0,1) == '=') { $owidth = intval(substr($mtch[2],1)); - if(intval($owidth) > 0 && intval($owidth) < 1024) + if($owidth > 0 && $owidth < 1024) continue; } |