diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-09-29 14:09:41 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-09-29 14:09:41 +0200 |
commit | 4daa03f025505fc6f98f6a169cf743df1b958741 (patch) | |
tree | b034a525e3231081a7f4943b62b7927d622f2c92 /Zotlabs | |
parent | 8ae9df3bb7ab76bf8c1f864ac6c4869366e8b497 (diff) | |
download | volse-hubzilla-4daa03f025505fc6f98f6a169cf743df1b958741.tar.gz volse-hubzilla-4daa03f025505fc6f98f6a169cf743df1b958741.tar.bz2 volse-hubzilla-4daa03f025505fc6f98f6a169cf743df1b958741.zip |
Help: Drop language specifier in URL when redirecting
This finally fixes the help for languages other than english.
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 |