diff options
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r-- | framework/Web/Services/TPageService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 79f81bcd..3218138e 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -384,7 +384,7 @@ class TPageService extends TComponent implements IService $page=new $className($this->_properties);
else
throw new THttpException(404,'pageservice_page_unknown',$this->_pageType);
- $writer=new THtmlTextWriter($this->_application->getResponse());
+ $writer=$this->_application->getResponse()->createHtmlWriter();
$page->run($writer);
$writer->flush();
}
|