From bee939d79ad625a68acdd27954bdf0296eadc959 Mon Sep 17 00:00:00 2001 From: RedSwede Date: Thu, 29 Jan 2015 16:06:39 +0100 Subject: fix issue 848 + code comments --- mod/tagger.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mod') 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; -- cgit v1.2.3