修复返回对象错误
This commit is contained in:
parent
cda10a158a
commit
e6bc78ef20
|
@ -407,7 +407,7 @@ class DataController extends Zend_Controller_Action
|
||||||
$this->_helper->layout->disableLayout();
|
$this->_helper->layout->disableLayout();
|
||||||
$this->_helper->viewRenderer->setNoRender();
|
$this->_helper->viewRenderer->setNoRender();
|
||||||
$this->getResponse()->setHeader('Content-Type', 'text/xml')
|
$this->getResponse()->setHeader('Content-Type', 'text/xml')
|
||||||
->setBody($row->data);
|
->setBody($row['data']);
|
||||||
}
|
}
|
||||||
function detailAction()
|
function detailAction()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue