aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedSwede <redswede@riseup.net>2015-01-29 16:06:39 +0100
committerRedSwede <redswede@riseup.net>2015-01-29 16:06:39 +0100
commitbee939d79ad625a68acdd27954bdf0296eadc959 (patch)
treed4be7034606b7a858b713313a49b3933857a436f
parent775dc3a320455e24cfc3773d7044596fad66b9ab (diff)
downloadvolse-hubzilla-bee939d79ad625a68acdd27954bdf0296eadc959.tar.gz
volse-hubzilla-bee939d79ad625a68acdd27954bdf0296eadc959.tar.bz2
volse-hubzilla-bee939d79ad625a68acdd27954bdf0296eadc959.zip
fix issue 848 + code comments
-rw-r--r--mod/tagger.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/tagger.php b/mod/tagger.php
index a93609c3c..aafad58cf 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -12,11 +12,9 @@ function tagger_content(&$a) {
}
$observer_hash = get_observer_hash();
-
+ //strip html-tags
$term = notags(trim($_GET['term']));
- // no commas allowed
- $term = str_replace(array(',',' '),array('','_'),$term);
-
+ //check if empty
if(! $term)
return;