Skip to content

Commit

Permalink
Update Publicidees.php
Browse files Browse the repository at this point in the history
Publicidees - Fixed start date
  • Loading branch information
PaoloNardini authored Sep 4, 2019
1 parent 926acb6 commit b05a962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Oara/Network/Publisher/Publicidees.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -271,4 +271,4 @@ public function getTransactionList($merchantList = null, \DateTime $dStartDate =
return $totalTransactions;

}
}
}

0 comments on commit b05a962

Please sign in to comment.