]> git.mxchange.org Git - friendica.git/blobdiff - src/App.php
Fix storing mail settings
[friendica.git] / src / App.php
index c56222b63f5d7b52bfa9daf98b929b13842c68b7..f7c929820d308640f7b3156d684b58d997417d70 100644 (file)
@@ -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);