fix issue 848 + code comments

This commit is contained in:
RedSwede 2015-01-29 16:06:39 +01:00
parent 775dc3a320
commit bee939d79a

View File

@ -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;