aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-03-09 20:36:28 +0000
committerMario <mario@mariovavti.com>2021-03-09 21:40:43 +0100
commit82192d1ead943e71c616d4eb2de03aebe4782118 (patch)
treee01a0c80f93c4d00437c538a47c05c59a0def67f /Zotlabs/Module/Channel.php
parent64bbbc8053fab97d411f1fb2804e606ed4c679aa (diff)
downloadvolse-hubzilla-82192d1ead943e71c616d4eb2de03aebe4782118.tar.gz
volse-hubzilla-82192d1ead943e71c616d4eb2de03aebe4782118.tar.bz2
volse-hubzilla-82192d1ead943e71c616d4eb2de03aebe4782118.zip
a possible fix for issue #15295.4.1
(cherry picked from commit 7ee495624e71125074a4eb9f5533a7af2db2f6b6)
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index a513523a7..5cf24615d 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -28,7 +28,7 @@ class Channel extends Controller {
function init() {
if (in_array(substr($_GET['search'], 0, 1), ['@', '!', '?']) || strpos($_GET['search'], 'https://') === 0)
- goaway('search' . '?f=&search=' . $_GET['search']);
+ goaway(z_root() . '/search?f=&search=' . $_GET['search']);
$which = null;
if (argc() > 1)