From c36c5afa942ac09c246c1d86ff9316b324bbbe72 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 18 May 2012 09:40:38 +0000 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E7=A1=AE=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }