diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index 676f8850..1b7ef4c0 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -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); }