Skip to content

Commit 37b799a

Browse files
Merge branch 'bugfix/paypal-details-return-type' into release-week-50
2 parents 360f60f + cfe3ee8 commit 37b799a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Block/Adminhtml/Widget/Grid/PaypalReferenceColumn.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function getDetails(array $information): array
6565
return [];
6666
}
6767

68-
return json_decode($details, true);
68+
$json = json_decode($details, true);
69+
return is_array($json) ? $json : [];
6970
}
7071
}

0 commit comments

Comments
 (0)