From 3b0948c4abdef0d54779de5e1e25d0c070d4c7bf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 18 Nov 2005 13:59:26 +0100 Subject: sort tags in feedlist output, "technorati tag:" is stripped from tagname --- functions.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 355226e8d..8bf146d7a 100644 --- a/functions.php +++ b/functions.php @@ -403,6 +403,8 @@ foreach ($entry_tags as $tag) { $tag = db_escape_string(strtolower($tag)); + $tag = str_replace("technorati tag: ", "", $tag); + $result = db_query($link, "SELECT id FROM ttrss_tags WHERE tag_name = '$tag' AND post_id = '$entry_id' AND owner_uid = ".$_SESSION["uid"]." LIMIT 1"); -- cgit v1.2.3-54-g00ecf