]> git.mxchange.org Git - friendica.git/blobdiff - mod/subthread.php
Rename removeTags to escapeTags
[friendica.git] / mod / subthread.php
index 68fa0e7ea3216bb98c559c11c9032014180587bd..b287957b23ea0bbe82133e4a1630e162dbeb76c0 100644 (file)
@@ -23,7 +23,7 @@ function subthread_content(App $a) {
 
        $activity = ACTIVITY_FOLLOW;
 
-       $item_id = (($a->argc > 1) ? Strings::removeTags(trim($a->argv[1])) : 0);
+       $item_id = (($a->argc > 1) ? Strings::escapeTags(trim($a->argv[1])) : 0);
 
        $condition = ["`parent` = ? OR `parent-uri` = ? AND `parent` = `id`", $item_id, $item_id];
        $item = Item::selectFirst([], $condition);