Changeset 604
- Timestamp:
- Nov 21, 2014 3:16:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php
r602 r604 198 198 } 199 199 } 200 public function update_info() { 200 201 public function update_info() { 201 202 $result['success']=0; 202 203 $user_info = $this->session->userdata('userInfo'); … … 237 238 } 238 239 } 240 239 241 public function update_user() { 240 242 $us_id = $this->uri->segment(4); … … 256 258 $input['fullname'] = $user['fullname']; 257 259 } 258 /* 259 if ($strlen($input['school']) == 0) 260 { 261 $result['errors']['school_err'] = "ÄÆ¡n vá» khÃŽng ÄÆ°á»£c Äá» trá»ng!"; 262 } 263 if ($strlen($input['province']) == 0) 264 { 265 $result['errors']['province_err'] = "Tá»nh/thà nh khÃŽng ÄÆ°á»£c Äá» trá»ng!"; 266 } */ 260 267 261 $input['password'] = ''; 268 262 $input['oldpass'] = ''; 269 263 $this->load->model('user_model'); 270 //$result['fullname'] = $input['fullname'];271 264 if (!isset($result['errors'])) { 272 265 $result['data'] = $this->user_model->update_user($src, $token, $input, $us_id);
Note: See TracChangeset
for help on using the changeset viewer.