diff options
author | Max Kostikov <max@kostikov.co> | 2018-11-29 11:48:12 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-11-29 11:48:12 +0100 |
commit | d9faf6c4bb5d26d6eff5e3176b46761ea26dcf63 (patch) | |
tree | cebcc37846b7f66cd9db981675bcfe54e9d4fa47 | |
parent | 48cd5855fe0bb530d3a26ea3a095bd3ab9c2493e (diff) | |
download | volse-hubzilla-d9faf6c4bb5d26d6eff5e3176b46761ea26dcf63.tar.gz volse-hubzilla-d9faf6c4bb5d26d6eff5e3176b46761ea26dcf63.tar.bz2 volse-hubzilla-d9faf6c4bb5d26d6eff5e3176b46761ea26dcf63.zip |
Update text.php
-rw-r--r-- | include/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 113448a92..5574b9054 100644 --- a/include/text.php +++ b/include/text.php @@ -3280,7 +3280,7 @@ function share_unshield($m) { } -function cleanup_bbcode($body, $uid = 0) { +function cleanup_bbcode($body) { /** * fix naked links by passing through a callback to see if this is a hubzilla site @@ -3316,7 +3316,7 @@ function cleanup_bbcode($body, $uid = 0) { $body = preg_replace('/\[\/code\]\s*\[code\]/ism',"\n",$body); - $body = scale_external_images($body, false, false, $uid); + $body = scale_external_images($body, false); return $body; } |