diff --git a/Oara/Network/Publisher/Publicidees.php b/Oara/Network/Publisher/Publicidees.php index 1a4e8abf..499b6d9e 100755 --- a/Oara/Network/Publisher/Publicidees.php +++ b/Oara/Network/Publisher/Publicidees.php @@ -146,7 +146,7 @@ public function getTransactionList($merchantList = null, \DateTime $dStartDate = //$response = file_get_contents ('http://api.publicidees.com/subid.php5?p='.$this->_user.'&k='.$this->_password.'&dd='.$dStartDate->format('Y-m-d').'&df='.$dEndDate->format('Y-m-d')); //$response = file_get_contents ('http://api.publicidees.com/subid.php5?p='.$this->_user.'&k='.$this->_password.'&dd=2019-09-01&df='.$dEndDate->format('Y-m-d')); - $url = 'http://api.publicidees.com/subid.php5?p='.$this->_user.'&k='.$this->_password.'&dd=2019-09-01&df='.$dEndDate->format('Y-m-d'); + $url = 'http://api.publicidees.com/subid.php5?p='.$this->_user.'&k='.$this->_password.'&dd='.$dStartDate->format('Y-m-d').'&df='.$dEndDate->format('Y-m-d'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); @@ -271,4 +271,4 @@ public function getTransactionList($merchantList = null, \DateTime $dStartDate = return $totalTransactions; } -} \ No newline at end of file +}