aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/text.php b/include/text.php
index d38f4f7c4..0a7f84b01 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2753,15 +2753,13 @@ function item_url_replace($channel,&$item,$old,$new,$oldnick = '') {
$item['item_verified'] = 1;
}
- // @fixme item['plink'] and item['llink']
-
- str_replace($old,$new,$item['plink']);
+ $item['plink'] = str_replace($old,$new,$item['plink']);
if($oldnick)
- str_replace('/' . $oldnick . '/' ,'/' . $channel['channel_address'] . '/' ,$item['plink']);
+ $item['plink'] = str_replace('/' . $oldnick . '/' ,'/' . $channel['channel_address'] . '/' ,$item['plink']);
- str_replace($old,$new,$item['llink']);
+ $item['llink'] = str_replace($old,$new,$item['llink']);
if($oldnick)
- str_replace('/' . $oldnick . '/' ,'/' . $channel['channel_address'] . '/' ,$item['llink']);
+ $item['llink'] = str_replace('/' . $oldnick . '/' ,'/' . $channel['channel_address'] . '/' ,$item['llink']);
}