summaryrefslogtreecommitdiff
path: root/framework/Exceptions/TErrorHandler.php
diff options
context:
space:
mode:
authorxue <>2006-02-17 04:28:06 +0000
committerxue <>2006-02-17 04:28:06 +0000
commitae1c1995b2fec431afe7cca23b2697e1bef17baf (patch)
tree43fb70539492615022e434435a70e35241a898f2 /framework/Exceptions/TErrorHandler.php
parent31807816360c93080a6a0da55b858d708cd85c8b (diff)
moved shortcut methods from TComponent to TControl.
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-rw-r--r--framework/Exceptions/TErrorHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php
index 87f6b1c2..2bbc3c7b 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -124,7 +124,7 @@ class TErrorHandler extends TModule
else
{
$handling=true;
- if(($response=$this->getResponse())!==null)
+ if(($response=$this->getApplication()->getResponse())!==null)
$response->clear();
if(!headers_sent())
header('Content-Type: text/html; charset=UTF-8');