aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-07-07 19:24:36 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-07-07 19:24:36 +0200
commit3f9e39a9e3d72681056475fe60b193ef78caf536 (patch)
tree0fe9c6bcbcc48ccbcceb0a31a95c10fae7207f28 /mod/search.php
parentb51bcba26398a90f9d29d7ced2615a88040a6aac (diff)
parent862bfbdd2bc60b201918d02351f2591ccf5aea04 (diff)
downloadvolse-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.php4
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) {