init
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -23,10 +23,10 @@ class Finance extends CI_Controller { | ... | @@ -23,10 +23,10 @@ class Finance extends CI_Controller { |
| 23 | 23 | ||
| 24 | public function addtime($id) | 24 | public function addtime($id) |
| 25 | { | 25 | { |
| 26 | $data = array( | 26 | |
| 27 | 'id'=>$id | 27 | $ret = new stdClass(); |
| 28 | ); | 28 | $ret->id = $id; |
| 29 | $this->load->view('finance/addtime',$data); | 29 | $this->load->view('finance/addtime',$ret); |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public function chargedetail() | 32 | public function chargedetail() | ... | ... |
-
Please register or sign in to post a comment