Skip to content

Commit

Permalink
Fix getPaymentReference
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie op de Weegh committed Apr 6, 2018
1 parent c32d074 commit 97bcbc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Message/FetchTransactionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function getTransactionReference()
*/
public function getPaymentReference()
{
if ( isset( $this->data['data']['uuid']['payments']['data'][0]['uuid'] ) ) {
return $this->data['data']['uuid']['payments']['data'][0]['uuid'];
if ( isset( $this->data['data']['payments']['data'][0]['uuid'] ) ) {
return $this->data['data']['payments']['data'][0]['uuid'];
}
}

Expand Down

0 comments on commit 97bcbc5

Please sign in to comment.