aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-18 19:15:08 -0800
committerfriendica <info@friendica.com>2013-01-18 19:15:08 -0800
commitd22069ad2227597f4a2289ff3ec14d46cd30b0b3 (patch)
tree533151e88d354d0c9c58fa2c30de6d663f6455b2 /mod/search.php
parent4378cf6fd505a6b5f7c7ab341ac8b5fe79b5776c (diff)
downloadvolse-hubzilla-d22069ad2227597f4a2289ff3ec14d46cd30b0b3.tar.gz
volse-hubzilla-d22069ad2227597f4a2289ff3ec14d46cd30b0b3.tar.bz2
volse-hubzilla-d22069ad2227597f4a2289ff3ec14d46cd30b0b3.zip
link people search from navbar
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/search.php b/mod/search.php
index 6f40ad4b0..64a1318b2 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -113,8 +113,8 @@ function search_content(&$a) {
$search = substr($search,1);
}
if(strpos($search,'@') === 0) {
- require_once('mod/dirfind.php');
- return dirfind_content($a);
+ $search = substr($search,1);
+ goaway(z_root() . '/directory' . '$f=1&search=' . $search);
}
if(! $search)