don't add a birthday event if the birthday channel doesn't have permission to send you posts.

This commit is contained in:
friendica
2014-06-03 19:25:59 -07:00
parent 97a4479513
commit 737d3f5836
2 changed files with 6 additions and 1 deletions

View File

@@ -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()),