在生成离线申请表时添加了项目信息的调用

This commit is contained in:
Li Jianxuan 2012-06-11 03:34:48 +00:00
parent f4d5eb9737
commit 95580f7259
1 changed files with 1 additions and 1 deletions

View File

@ -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;