X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=f7c929820d308640f7b3156d684b58d997417d70;hb=421dd028cea8102550f6b0140a088c588880a28d;hp=c56222b63f5d7b52bfa9daf98b929b13842c68b7;hpb=eaad2207387f23ae9183d03f843fef0a902367ac;p=friendica.git diff --git a/src/App.php b/src/App.php index c56222b63f..f7c929820d 100644 --- a/src/App.php +++ b/src/App.php @@ -710,8 +710,7 @@ class App $timestamp = microtime(true); $response = $module->run($input); $this->profiler->set(microtime(true) - $timestamp, 'content'); - if ($response->getHeaderLine(ICanCreateResponses::X_HEADER) === ICanCreateResponses::TYPE_HTML && - $response->getStatusCode() == 200) { + if ($response->getHeaderLine(ICanCreateResponses::X_HEADER) === ICanCreateResponses::TYPE_HTML) { $page->run($this, $this->baseURL, $this->args, $this->mode, $response, $this->l10n, $this->profiler, $this->config, $pconfig); } else { $page->exit($response);