diff options
author | RedSwede <redswede@riseup.net> | 2015-01-29 16:06:39 +0100 |
---|---|---|
committer | RedSwede <redswede@riseup.net> | 2015-01-29 16:06:39 +0100 |
commit | bee939d79ad625a68acdd27954bdf0296eadc959 (patch) | |
tree | d4be7034606b7a858b713313a49b3933857a436f | |
parent | 775dc3a320455e24cfc3773d7044596fad66b9ab (diff) | |
download | volse-hubzilla-bee939d79ad625a68acdd27954bdf0296eadc959.tar.gz volse-hubzilla-bee939d79ad625a68acdd27954bdf0296eadc959.tar.bz2 volse-hubzilla-bee939d79ad625a68acdd27954bdf0296eadc959.zip |
fix issue 848 + code comments
-rw-r--r-- | mod/tagger.php | 6 |
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; |