diff options
author | Mario <mario@mariovavti.com> | 2023-11-25 17:12:28 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-11-25 17:12:28 +0100 |
commit | 0fd8e02a884a2b040dca62ab5d9674db5f6a070b (patch) | |
tree | 586ee43f32f6f14368c09026f21dcd3244ea24b6 /Zotlabs/Web/Router.php | |
parent | 82e704ec5b107823c09f1387e9091adee53a4c2d (diff) | |
parent | 55c4bfb67009c598f25b1a8189604bfffa73dfbb (diff) | |
download | volse-hubzilla-0fd8e02a884a2b040dca62ab5d9674db5f6a070b.tar.gz volse-hubzilla-0fd8e02a884a2b040dca62ab5d9674db5f6a070b.tar.bz2 volse-hubzilla-0fd8e02a884a2b040dca62ab5d9674db5f6a070b.zip |
Merge branch '8.8RC'8.8
Diffstat (limited to 'Zotlabs/Web/Router.php')
-rw-r--r-- | Zotlabs/Web/Router.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Web/Router.php b/Zotlabs/Web/Router.php index a6a841ccb..2876fcc3c 100644 --- a/Zotlabs/Web/Router.php +++ b/Zotlabs/Web/Router.php @@ -224,7 +224,7 @@ class Router { } elseif(function_exists(App::$module . '_init')) { $func = App::$module . '_init'; - $func($a); + $func(); } } @@ -257,13 +257,13 @@ class Router { if(function_exists(str_replace('-', '_', $current_theme[0]) . '_init')) { $func = str_replace('-', '_', $current_theme[0]) . '_init'; - $func($a); + $func(); } elseif (x(App::$theme_info, 'extends') && file_exists('view/theme/' . App::$theme_info['extends'] . '/php/theme.php')) { require_once('view/theme/' . App::$theme_info['extends'] . '/php/theme.php'); if(function_exists(str_replace('-', '_', App::$theme_info['extends']) . '_init')) { $func = str_replace('-', '_', App::$theme_info['extends']) . '_init'; - $func($a); + $func(); } } @@ -275,7 +275,7 @@ class Router { } elseif(function_exists(App::$module . '_post')) { $func = App::$module . '_post'; - $func($a); + $func(); } } @@ -289,7 +289,7 @@ class Router { } elseif(function_exists(App::$module . '_content')) { $func = App::$module . '_content'; - $arr = array('content' => $func($a)); + $arr = array('content' => $func()); } } call_hooks(App::$module . '_mod_aftercontent', $arr); |