Skip to content

Commit

Permalink
Merge branch 'release/4.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Aug 15, 2022
2 parents cd45bce + 3d787f1 commit 41e2dfa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## [Unreleased][unreleased]
-

## [4.1.2] - 2022-08-15
- Fixed parsing gateways response message ([pronamic/wp-pronamic-pay-multisafepay#3](https://github.com/pronamic/wp-pronamic-pay-multisafepay/issues/3)).

## [4.1.1] - 2022-05-30
### Fixed
- Fix possible "Warning: Invalid argument supplied for foreach()" with incomplete config.
Expand Down Expand Up @@ -86,7 +89,8 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## 1.0.0 - 2015-01-19
- First release.

[unreleased]: https://github.com/pronamic/wp-pronamic-pay-multisafepay/compare/4.1.1...HEAD
[unreleased]: https://github.com/pronamic/wp-pronamic-pay-multisafepay/compare/4.1.2...HEAD
[4.1.2]: https://github.com/pronamic/wp-pronamic-pay-multisafepay/compare/4.1.1...4.1.2
[4.1.1]: https://github.com/pronamic/wp-pronamic-pay-multisafepay/compare/4.1.0...4.1.1
[4.1.0]: https://github.com/pronamic/wp-pronamic-pay-multisafepay/compare/4.0.1...4.1.0
[4.0.1]: https://github.com/pronamic/wp-pronamic-pay-multisafepay/compare/4.0.0...4.0.1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "multisafepay",
"version": "4.1.1",
"version": "4.1.2",
"description": "MultiSafepay driver for the WordPress payment processing library.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/XML/GatewaysResponseMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static function parse( SimpleXMLElement $xml ) {

$message->gateways = array();

if ( \is_array( $xml->gateways->gateway ) ) {
if ( \is_object( $xml->gateways->gateway ) ) {
foreach ( $xml->gateways->gateway as $gateway ) {
$id = Security::filter( $gateway->id );
$description = Security::filter( $gateway->description );
Expand Down

0 comments on commit 41e2dfa

Please sign in to comment.