diff options
author | Matthew Dent <dentm42@dm42.net> | 2017-12-23 11:09:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-23 11:09:37 -0500 |
commit | ef952a41b3af7af60c4c3329428c9503c2f39333 (patch) | |
tree | a609e933700e9ac2f5a6b2f3114938222c1cf2a0 /Zotlabs/Web | |
parent | e7f6cd2cfa2995de8dc3d3dbc145922de8c67747 (diff) | |
download | volse-hubzilla-ef952a41b3af7af60c4c3329428c9503c2f39333.tar.gz volse-hubzilla-ef952a41b3af7af60c4c3329428c9503c2f39333.tar.bz2 volse-hubzilla-ef952a41b3af7af60c4c3329428c9503c2f39333.zip |
Fix whitespace formatting
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r-- | Zotlabs/Web/Router.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Zotlabs/Web/Router.php b/Zotlabs/Web/Router.php index b1bc9655c..a6b780cdc 100644 --- a/Zotlabs/Web/Router.php +++ b/Zotlabs/Web/Router.php @@ -263,20 +263,20 @@ class Router { } if(! \App::$error) { - $arr = array('content' => \App::$page['content'], 'replace' => false); - call_hooks(\App::$module . '_mod_content', $arr); - - if(! $arr['replace']) { - if($this->controller && method_exists($this->controller,'get')) { - $arr = array('content' => $this->controller->get()); - } - elseif(function_exists(\App::$module . '_content')) { - $func = \App::$module . '_content'; - $arr = array('content' => $func($a)); - } - } - call_hooks(\App::$module . '_mod_aftercontent', $arr); - \App::$page['content'] = (($arr['replace']) ? $arr['content'] : \App::$page['content'] . $arr['content']); + $arr = array('content' => \App::$page['content'], 'replace' => false); + call_hooks(\App::$module . '_mod_content', $arr); + + if(! $arr['replace']) { + if($this->controller && method_exists($this->controller,'get')) { + $arr = array('content' => $this->controller->get()); + } + elseif(function_exists(\App::$module . '_content')) { + $func = \App::$module . '_content'; + $arr = array('content' => $func($a)); + } + } + call_hooks(\App::$module . '_mod_aftercontent', $arr); + \App::$page['content'] = (($arr['replace']) ? $arr['content'] : \App::$page['content'] . $arr['content']); } } } |