修复返回对象错误

This commit is contained in:
wlx 2010-07-08 08:50:57 +00:00
parent cda10a158a
commit e6bc78ef20
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ class DataController extends Zend_Controller_Action
$this->_helper->layout->disableLayout();
$this->_helper->viewRenderer->setNoRender();
$this->getResponse()->setHeader('Content-Type', 'text/xml')
->setBody($row->data);
->setBody($row['data']);
}
function detailAction()
{