make the findpeople widget honour the local/global directory setting

This commit is contained in:
friendica 2015-04-06 16:14:12 -07:00
parent f1e73abd21
commit 04959a095f
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ function dirsearch_content(&$a) {
if($name)
$sql_extra .= dir_query_build($joiner,'xchan_name',$name);
if($hub)
$sql_extra .= " $joiner xchan_hash in (select hubloc_hash from hubloc where hubloc_host = '" . protect_sprintf(dbesc($hub)) . "') ";
$sql_extra .= " and xchan_hash in (select hubloc_hash from hubloc where hubloc_host = '" . protect_sprintf(dbesc($hub)) . "') ";
if($address)
$sql_extra .= dir_query_build($joiner,'xchan_addr',$address);
if($city)

View File

@ -1 +1 @@
2015-04-05.993
2015-04-06.994