修复错误
This commit is contained in:
parent
5b13ec8719
commit
a16bbe2e35
|
@ -39,6 +39,7 @@ class Admin_WatermdController extends Zend_Controller_Action
|
|||
{
|
||||
$sql="select uuid,data from metadata where istemplate = 'n'";
|
||||
$rows=$this->wdb->fetchAll($sql);
|
||||
$this->view->deal=array();
|
||||
foreach($rows as $k=>$row)
|
||||
{
|
||||
//do the replace
|
||||
|
@ -52,7 +53,7 @@ class Admin_WatermdController extends Zend_Controller_Action
|
|||
$dom = new DOMDocument();
|
||||
$dom->loadXML($row['data']);
|
||||
$title=$dom->getElementsByTagName('resTitle')->item(0)->nodeValue;
|
||||
$deal['uuid']=$uuid;
|
||||
$deal['uuid']=$row['uuid'];
|
||||
$deal['title']=$title;
|
||||
$this->view->deal[]=$deal;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue