明确字段

This commit is contained in:
wlx 2012-05-18 09:40:38 +00:00
parent a6d552c004
commit c36c5afa94
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ class Admin_DataController extends Zend_Controller_Action
$form->populate($formdata);
}
} else {
$sql="select * from reference r left join mdref m on r.id=m.refid where r.id=?";
$sql="select m.uuid,r.reference,r.link from reference r left join mdref m on r.id=m.refid where r.id=?";
$formdata=$this->db->fetchRow($sql,array($edit));
$form->populate($formdata);
}