Ignore:
Timestamp:
Oct 31, 2014 2:45:31 PM (11 years ago)
Author:
dungnv
Message:
 
Location:
pro-violet-viettel/sourcecode/application/libraries
Files:
5 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/libraries/vservices.php

    r289 r365  
    3232                $this->_curlObj->option(CURLOPT_BUFFERSIZE, 10);
    3333                $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10));
    34                
    35                 $post = array('userid' => $this->_userId);
     34                $post =  $this->_userId ? array('userid' => $this->_userId) : array();
    3635                $this->_curlObj->post($post);
    3736                return $this->_curlObj->execute();
     
    4948                $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10));
    5049               
    51                 $aryParams['userid'] = $this->_userId;
     50                if ($this->_userId) $aryParams['userid'] = $this->_userId;
    5251                $this->_curlObj->post($aryParams);
    5352                return $this->_curlObj->execute();
Note: See TracChangeset for help on using the changeset viewer.