diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php index 71a10b06d..0580d12d7 100644 --- a/include/ws_core.inc.php +++ b/include/ws_core.inc.php @@ -52,6 +52,8 @@ class PwgError function PwgError($code, $codeText) { + set_status_header($code, $codeText); + $this->_code = $code; $this->_codeText = $codeText; }