From 95580f72598c2f6f448f748019b94c83f2b097fc Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Mon, 11 Jun 2012 03:34:48 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=94=9F=E6=88=90=E7=A6=BB=E7=BA=BF?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E8=A1=A8=E6=97=B6=E6=B7=BB=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BF=A1=E6=81=AF=E7=9A=84=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index a0115584..69f37e77 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -1323,7 +1323,7 @@ class DataController extends Zend_Controller_Action } } } else { - $sql="select u.*,o.postcode from users u left join offlineapp o on u.id=o.userid where u.id=?"; + $sql="select u.*,o.postcode,o.project_type as projecttype,o.project_id as projectid,o.project_title as projecttitle from users u left join offlineapp o on u.id=o.userid where u.id=?"; $row=$this->db->fetchRow($sql,array($userid)); /*$row=$ut->fetchRow('id='.$userid); $formData['email']=$row->email;