Changeset 550


Ignore:
Timestamp:
Nov 18, 2014 10:16:50 AM (11 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

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

    r544 r550  
    9494                                'token' => $token
    9595                ), 'user' );
     96                if(!($data) || is_null($data))
     97                {
     98                        $sms = "Tam thoi Qui vi khong the dang ky duoc. Xin thu lai sau. Cam on!";
     99                        $status = 0;
     100                        return $status . '|' . $sms;
     101                }
    96102                parse_str ( $data );
    97103               
     
    196202                                        'phone' => $sentNumber
    197203                        ), 'user' );
     204                        if(!($data) || is_null($data))
     205                        {
     206                                $sms = "Tam thoi Qui vi khong the thay doi duoc so dien thoai. Xin thu lai sau. Cam on!";
     207                                $status = 0;
     208                                return $status . '|' . $sms;
     209                        }
    198210                        parse_str ( $data );
    199211                        switch (( int ) $status) {
     
    250262                                        "password" => $pass
    251263                        ), 'user' );
    252 
     264                       
     265                        if(!($data) || is_null($data))
     266                        {
     267                                $sms = "Tam thoi Qui vi khong the lay lai hoac thay doi mat khau. Xin thu lai sau. Cam on!";
     268                                $status = 0;
     269                                return $status . '|' . $sms;
     270                        }
    253271                        parse_str ( $data );
    254272                        switch (( int ) $status) {
Note: See TracChangeset for help on using the changeset viewer.