aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-19 01:45:06 -0700
committerfriendica <info@friendica.com>2013-09-19 01:45:06 -0700
commita5656c350dd2a1329ef8ddb4e6eea82e341920c3 (patch)
tree855db8c6438c660f78633c83c28a49c18059cadc
parentc0e8b0cd9d38fb5df722f7925147b18c8cbd3d8f (diff)
downloadvolse-hubzilla-a5656c350dd2a1329ef8ddb4e6eea82e341920c3.tar.gz
volse-hubzilla-a5656c350dd2a1329ef8ddb4e6eea82e341920c3.tar.bz2
volse-hubzilla-a5656c350dd2a1329ef8ddb4e6eea82e341920c3.zip
trim commas from keywords
-rw-r--r--include/zot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 58b3d74d3..c0b53bdc1 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1487,6 +1487,7 @@ function import_directory_keywords($hash,$keywords) {
$clean = array();
foreach($keywords as $kw) {
$kw = trim(htmlentities($kw,ENT_COMPAT,'UTF-8',false));
+ $kw = trim($kw,',');
$clean[] = $kw;
}