diff options
author | rojaro <> | 2011-01-06 17:10:12 +0000 |
---|---|---|
committer | rojaro <> | 2011-01-06 17:10:12 +0000 |
commit | bcb739cb347c609d75eaa8c27db1b1b5619bba35 (patch) | |
tree | 9303d4f576e16ffe43e35d079e42e0fb8420d1c0 /framework | |
parent | 7609a77f09db93f488141018af8473db9c3e0c3e (diff) |
fixed #300
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);
}
|