summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-01 09:28:13 +0100
committerAndrew Dolgov <[email protected]>2005-12-01 09:28:13 +0100
commit31483fc1ab06a34c818025a8bc26970de2998258 (patch)
treebd76a04a14f3cfcc8d628b10c14aaa58525bfe11 /functions.php
parent4e9f5c242047f215b23a4f2fd2d488d1dead70d3 (diff)
replace + to space when detecting tags (because tags are detected from technorati urls)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 99f71fd51..c58afe9e7 100644
--- a/functions.php
+++ b/functions.php
@@ -475,7 +475,8 @@
foreach ($entry_tags as $tag) {
$tag = db_escape_string(strtolower($tag));
-
+
+ $tag = str_replace("+", " ", $tag);
$tag = str_replace("technorati tag: ", "", $tag);
$result = db_query($link, "SELECT id FROM ttrss_tags