Ignore:
Timestamp:
Mar 25, 2015 10:25:56 AM (10 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/services/controllers/sync.php

    r721 r822  
    1515                        $totalpage = 1;
    1616                       
    17                         $default = $this->Services_model->getCollaborator(2,1,5000);
    18                         $data = mb_convert_encoding($default, 'UTF-8', 'ISO-8859-1');
     17                        $data = $this->Services_model->getCollaborator(2,1,5000);
     18                        //$data = mb_convert_encoding($default, 'UTF-8', 'ISO-8859-1');
    1919                        if($data){
    2020                                $xml = simplexml_load_string($data);
     
    2828                       
    2929                        for ($i=1; $i<=$totalpage; $i++){
    30                                 $result = $this->Services_model->getCollaborator(2,$i,500);
    31                                 $data = mb_convert_encoding($result, 'UTF-8', 'ISO-8859-1');
     30                                $data = $this->Services_model->getCollaborator(2,$i,500);
     31                                //$data = mb_convert_encoding($result, 'UTF-8', 'ISO-8859-1');
    3232                                if($data && $data != -1){
    3333                                        $xml = simplexml_load_string($data);
Note: See TracChangeset for help on using the changeset viewer.