aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/dirsearch.php2
-rw-r--r--version.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 07621aaef..c741d31a3 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -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)
diff --git a/version.inc b/version.inc
index e6ec6b1d0..18bf58d83 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2015-04-05.993
+2015-04-06.994