Ignore:
Timestamp:
Nov 21, 2014 3:16:49 PM (10 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php

    r602 r604  
    198198        }
    199199    }
    200 public function update_info() {
     200   
     201        public function update_info() {
    201202        $result['success']=0;
    202203        $user_info = $this->session->userdata('userInfo');
     
    237238        }
    238239    }
     240   
    239241    public function update_user() {
    240242        $us_id = $this->uri->segment(4);
     
    256258                    $input['fullname'] = $user['fullname'];
    257259                }
    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
    267261                $input['password'] = '';
    268262                $input['oldpass'] = '';
    269263                $this->load->model('user_model');
    270                 //$result['fullname'] = $input['fullname'];
    271264                if (!isset($result['errors'])) {
    272265                    $result['data'] = $this->user_model->update_user($src, $token, $input, $us_id);
Note: See TracChangeset for help on using the changeset viewer.