diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 4ac312d0..9846bba8 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -202,9 +202,9 @@ class TErrorHandler extends TModule );
if($isDebug)
- header("HTTP/1.0 $statusCode ".$exception->getMessage(), true, $statusCode);
+ header("HTTP/1.0 $statusCode ".$exception->getMessage(), true, TPropertyValue::ensureInteger($statusCode));
else
- header("HTTP/1.0 $statusCode", true, $statusCode);
+ header("HTTP/1.0 $statusCode", true, TPropertyValue::ensureInteger($statusCode));
echo strtr($content,$tokens);
}
|