aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-03-23 20:57:22 +0100
committerMario <mario@mariovavti.com>2019-03-23 20:57:22 +0100
commit4d4425a5bf7a2227c3e70f7ab51375390aa69db2 (patch)
tree8d60e65e64145b5fab93a0e4df40d10a9625c267
parentc11fbe0868016a070468599145728dd31cf66158 (diff)
downloadvolse-hubzilla-4d4425a5bf7a2227c3e70f7ab51375390aa69db2.tar.gz
volse-hubzilla-4d4425a5bf7a2227c3e70f7ab51375390aa69db2.tar.bz2
volse-hubzilla-4d4425a5bf7a2227c3e70f7ab51375390aa69db2.zip
fix variables for xporof_locale and xprof_postcode
-rw-r--r--Zotlabs/Module/Dirsearch.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Dirsearch.php b/Zotlabs/Module/Dirsearch.php
index 81942860f..26cb82044 100644
--- a/Zotlabs/Module/Dirsearch.php
+++ b/Zotlabs/Module/Dirsearch.php
@@ -116,12 +116,12 @@ class Dirsearch extends \Zotlabs\Web\Controller {
$sql_extra .= $this->dir_query_build($joiner,'xchan_name',$name);
if($address)
$sql_extra .= $this->dir_query_build($joiner,'xchan_addr',$address);
- if($city)
- $sql_extra .= $this->dir_query_build($joiner,'xprof_locale',$city);
+ if($locale)
+ $sql_extra .= $this->dir_query_build($joiner,'xprof_locale',$locale);
if($region)
$sql_extra .= $this->dir_query_build($joiner,'xprof_region',$region);
- if($post)
- $sql_extra .= $this->dir_query_build($joiner,'xprof_postcode',$post);
+ if($postcode)
+ $sql_extra .= $this->dir_query_build($joiner,'xprof_postcode',$postcode);
if($country)
$sql_extra .= $this->dir_query_build($joiner,'xprof_country',$country);
if($gender)