From 737d3f583665f24881e484b40acf0bbc5f498e48 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 3 Jun 2014 19:25:59 -0700 Subject: don't add a birthday event if the birthday channel doesn't have permission to send you posts. --- include/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/widgets.php') diff --git a/include/widgets.php b/include/widgets.php index d197eb240..96bced87f 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -196,7 +196,7 @@ function widget_savedsearch($arr) { $a = get_app(); $search = ((x($_GET,'search')) ? $_GET['search'] : ''); - + if(x($_GET,'searchsave') && $search) { $r = q("select * from `term` where `uid` = %d and `type` = %d and `term` = '%s' limit 1", intval(local_user()), -- cgit v1.2.3