fix issue 848 + code comments
This commit is contained in:
parent
775dc3a320
commit
bee939d79a
@ -12,11 +12,9 @@ function tagger_content(&$a) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$observer_hash = get_observer_hash();
|
$observer_hash = get_observer_hash();
|
||||||
|
//strip html-tags
|
||||||
$term = notags(trim($_GET['term']));
|
$term = notags(trim($_GET['term']));
|
||||||
// no commas allowed
|
//check if empty
|
||||||
$term = str_replace(array(',',' '),array('','_'),$term);
|
|
||||||
|
|
||||||
if(! $term)
|
if(! $term)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user