Ignore:
Timestamp:
Jan 29, 2015 4:58:53 PM (10 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/models/user_model.php

    r707 r716  
    404404        public function isExistcollaborator($collaborator) {
    405405                $this->db->query ( 'UNLOCK TABLES' );
    406                 $this->db->select ( '*' )->from ( 'tblcollaborator' )->where ( 'login_name', $collaborator )->limit ( 1 );
     406                //$this->db->select ( '*' )->from ( 'tblcollaborator' )->where ( 'login_name', $collaborator )->limit ( 1 );
     407                $this->db->select ( '*' )->from ( 'tblcollaborator' )->where ( 'cellphone', $collaborator )->limit ( 1 );
    407408                $result = $this->db->get ()->row_array ();
    408409                if ($result)
Note: See TracChangeset for help on using the changeset viewer.