aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-20 03:04:20 -0800
committerfriendica <info@friendica.com>2011-12-20 03:04:20 -0800
commitc0c4c46874ed7e1798900422112ca643c1bb3cc0 (patch)
tree94fd90f6a758a667b9e26910fbe5c7d3df9664f3
parent0bef863015973f2203454c107ae70931c92e0383 (diff)
downloadvolse-hubzilla-c0c4c46874ed7e1798900422112ca643c1bb3cc0.tar.gz
volse-hubzilla-c0c4c46874ed7e1798900422112ca643c1bb3cc0.tar.bz2
volse-hubzilla-c0c4c46874ed7e1798900422112ca643c1bb3cc0.zip
remove hashchars from pub keywords
-rw-r--r--mod/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 642e198b7..d2f9d7e29 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -32,7 +32,7 @@ function profile_init(&$a) {
if(! $blocked) {
$keywords = ((x($a->profile,'pub_keywords')) ? $a->profile['pub_keywords'] : '');
- $keywords = str_replace(array(',',' ',',,'),array(' ',',',','),$keywords);
+ $keywords = str_replace(array('#',',',' ',',,'),array('',' ',',',','),$keywords);
if(strlen($keywords))
$a->page['htmlhead'] .= '<meta name="keywords" content="' . $keywords . '" />' . "\r\n" ;
}