From 9f72973b835c20450950af27d92aaed1f80b6da4 Mon Sep 17 00:00:00 2001 From: Borro Date: Fri, 23 Aug 2013 11:34:31 -0700 Subject: [PATCH] Bug in XML format --- framework/yii/web/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/web/Response.php b/framework/yii/web/Response.php index bdb9178..19a9ea2 100644 --- a/framework/yii/web/Response.php +++ b/framework/yii/web/Response.php @@ -771,7 +771,7 @@ class Response extends \yii\base\Response } break; case self::FORMAT_XML: - $this->content = Yii::createObject(XmlResponseFormatter::className())->format($this); + Yii::createObject(XmlResponseFormatter::className())->format($this); break; default: throw new InvalidConfigException("Unsupported response format: {$this->format}");