aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-04-08 20:18:17 +0000
committerMario <mario@mariovavti.com>2023-04-08 20:18:17 +0000
commit9b93dc51373878d7a0cbce3053e4308e7715b9c1 (patch)
tree2fb87ed54c4690ddd85716b688d88283da52d24a /include
parent5ec721b97823df32dca418bf2b5343b70c584114 (diff)
downloadvolse-hubzilla-9b93dc51373878d7a0cbce3053e4308e7715b9c1.tar.gz
volse-hubzilla-9b93dc51373878d7a0cbce3053e4308e7715b9c1.tar.bz2
volse-hubzilla-9b93dc51373878d7a0cbce3053e4308e7715b9c1.zip
split up a potentially long running sql query
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 705147e93..f1a7f5fbf 100644
--- a/include/text.php
+++ b/include/text.php
@@ -3322,6 +3322,8 @@ function item_url_replace($channel,&$item,$old,$new,$oldnick = '') {
$root_replaced = null;
$nick_replaced = null;
+ // FIXME: ignore anything in a share tag
+
$item['body'] = str_replace($old, $new, $item['body'], $root_replaced);
if($oldnick && ($oldnick !== $channel['channel_address'])) {