Skip to content

Commit

Permalink
Fix php 5.3 syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
nickyr committed Aug 10, 2017
1 parent b7bc3e3 commit e5067bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Message/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ public function getTransactions()
// grab all the custom parameters
foreach ($row as $field => $value) {
if (strpos($field, 'Custom Field') !== false && $value !== '') {
$index = explode(' ', $field)[2];
$parts = explode(' ', $field);
$index = $parts[2];
$params['customParameter' . $index] = $value;
}
}
Expand Down

0 comments on commit e5067bf

Please sign in to comment.