diff options
author | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2015-07-07 19:24:36 +0200 |
---|---|---|
committer | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2015-07-07 19:24:36 +0200 |
commit | 3f9e39a9e3d72681056475fe60b193ef78caf536 (patch) | |
tree | 0fe9c6bcbcc48ccbcceb0a31a95c10fae7207f28 /mod/search.php | |
parent | b51bcba26398a90f9d29d7ced2615a88040a6aac (diff) | |
parent | 862bfbdd2bc60b201918d02351f2591ccf5aea04 (diff) | |
download | volse-hubzilla-3f9e39a9e3d72681056475fe60b193ef78caf536.tar.gz volse-hubzilla-3f9e39a9e3d72681056475fe60b193ef78caf536.tar.bz2 volse-hubzilla-3f9e39a9e3d72681056475fe60b193ef78caf536.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/search.php')
-rw-r--r-- | mod/search.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/search.php b/mod/search.php index dceb7d72a..ce8357fb9 100644 --- a/mod/search.php +++ b/mod/search.php @@ -59,6 +59,10 @@ function search_content(&$a,$update = 0, $load = false) { $search = substr($search,1); goaway(z_root() . '/directory' . '?f=1&navsearch=1&search=' . $search); } + if(strpos($search,'?') === 0) { + $search = substr($search,1); + goaway(z_root() . '/help' . '?f=1&navsearch=1&search=' . $search); + } // look for a naked webbie if(strpos($search,'@') !== false) { |