aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-30 13:09:35 -0800
committerzotlabs <mike@macgirvin.com>2016-12-30 13:09:35 -0800
commita9c8d4a2162d096b8e09daae1e2c1af6c99d76fb (patch)
tree3053430066293e1d4f65de476c8c4f3655e1533c /Zotlabs
parent2e2254371a0d6bdc2bb6e13b699e6353e42b1c2f (diff)
downloadvolse-hubzilla-a9c8d4a2162d096b8e09daae1e2c1af6c99d76fb.tar.gz
volse-hubzilla-a9c8d4a2162d096b8e09daae1e2c1af6c99d76fb.tar.bz2
volse-hubzilla-a9c8d4a2162d096b8e09daae1e2c1af6c99d76fb.zip
peoplefind widget should honour directory option settings (such as this site only).
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Directory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index 76f1937a2..59ae88857 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -68,6 +68,7 @@ class Directory extends \Zotlabs\Web\Controller {
$observer = get_observer_hash();
$globaldir = get_directory_setting($observer, 'globaldir');
+
// override your personal global search pref if we're doing a navbar search of the directory
if(intval($_REQUEST['navsearch']))
$globaldir = 1;