]> git.mxchange.org Git - friendica.git/blobdiff - src/BaseModule.php
Update function / rearrange tab order
[friendica.git] / src / BaseModule.php
index b43e984772f6cfd7b6ecfa220f8dc6ea52c999a6..619095dfb6fbaf019c669c309cc07c6fece29ec9 100644 (file)
@@ -251,6 +251,7 @@ abstract class BaseModule implements ICanHandleRequests
                                throw $e;
                        }
 
+                       $this->response->setStatus($e->getCode(), $e->getMessage());
                        $this->response->addContent($httpException->content($e));
                } finally {
                        $this->profiler->set(microtime(true) - $timestamp, 'content');