Changeset 365 for pro-violet-viettel/sourcecode/application/libraries
- Timestamp:
- Oct 31, 2014 2:45:31 PM (11 years ago)
- 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 32 32 $this->_curlObj->option(CURLOPT_BUFFERSIZE, 10); 33 33 $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10)); 34 35 $post = array('userid' => $this->_userId); 34 $post = $this->_userId ? array('userid' => $this->_userId) : array(); 36 35 $this->_curlObj->post($post); 37 36 return $this->_curlObj->execute(); … … 49 48 $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10)); 50 49 51 $aryParams['userid'] = $this->_userId;50 if ($this->_userId) $aryParams['userid'] = $this->_userId; 52 51 $this->_curlObj->post($aryParams); 53 52 return $this->_curlObj->execute();
Note: See TracChangeset
for help on using the changeset viewer.