diff options
author | Mario <mario@mariovavti.com> | 2024-10-02 20:09:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-10-02 20:09:36 +0000 |
commit | fb1514a782730485bde8b939a5ae41121a8bf24d (patch) | |
tree | 85ecaf4e2b0d67db84326d5bbb1e1e76396a22d0 /Zotlabs | |
parent | 767989468411b3b93243d2d5f8bb08ab0fcc2161 (diff) | |
download | volse-hubzilla-fb1514a782730485bde8b939a5ae41121a8bf24d.tar.gz volse-hubzilla-fb1514a782730485bde8b939a5ae41121a8bf24d.tar.bz2 volse-hubzilla-fb1514a782730485bde8b939a5ae41121a8bf24d.zip |
Help: Drop language specifier in URL when redirecting
This finally fixes the help for languages other than english.
(cherry picked from commit 4daa03f025505fc6f98f6a169cf743df1b958741)
Co-authored-by: Harald Eilertsen <haraldei@anduin.net>
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Help.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Help.php b/Zotlabs/Module/Help.php index cacc81607..fc0ef2708 100644 --- a/Zotlabs/Module/Help.php +++ b/Zotlabs/Module/Help.php @@ -30,7 +30,7 @@ class Help extends \Zotlabs\Web\Controller { $this->determine_help_language(); if (empty($_REQUEST['search']) && argc() === 1) { - goaway("/help/{$this->lang['language']}/about/about"); + goaway("/help/about/about"); killme(); } } @@ -155,7 +155,7 @@ class Help extends \Zotlabs\Web\Controller { } if (empty($args)) { - goaway("/help/{$this->lang['language']}/about/about"); + goaway("/help/about/about"); } // Keep the first remaining arg as the heading slug |