aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ws_core.inc.php2
1 files changed, 2 insertions, 0 deletions
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;
}