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 From e2edc2c96841588ade355890c49ff7a3c900078d Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 29 Jan 2015 15:17:50 -0800 Subject: disable ratings until we're a bit further along. It's all changing. --- mod/connedit.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod') diff --git a/mod/connedit.php b/mod/connedit.php index c082e03a8..da0ab2b6c 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -528,6 +528,7 @@ function connedit_content(&$a) { } $poco_rating = get_config('system','poco_rating_enable'); + $poco_rating = 0; // leave disabled until we're ready for it. // if unset default to enabled if($poco_rating === false) $poco_rating = true; -- cgit v1.2.3