diff --git a/core/model/ErrorPage.php b/core/model/ErrorPage.php index 7b78cacd1..6972798e6 100755 --- a/core/model/ErrorPage.php +++ b/core/model/ErrorPage.php @@ -106,8 +106,12 @@ class ErrorPage extends Page { * Controller for ErrorPages. */ class ErrorPage_Controller extends Page_Controller { - + function init() { + parent::init(); + + $this->response->setStatusCode($this->dataRecord->ErrorCode); + } } -?> \ No newline at end of file +?>