Skip to content

Commit

Permalink
BugFix: Undefined Index
Browse files Browse the repository at this point in the history
  • Loading branch information
tlronline committed Dec 11, 2017
1 parent d201a7a commit 016fc15
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/MarketplaceWebService/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,14 @@ private function performRequest($action, array $converted, $dataHandle = null, $
rewind($this->headerContents);
$header = stream_get_contents($this->headerContents);

$parsedHeader = $this->parseHttpHeader($header);

$parsedHeader = array_merge(
array(
'x-mws-request-id' => null,
'x-mws-response-context' => null,
'x-mws-timestamp' => null
),
$this->parseHttpHeader($header)
);
$responseHeaderMetadata = new MarketplaceWebService_Model_ResponseHeaderMetadata($parsedHeader['x-mws-request-id'],
$parsedHeader['x-mws-response-context'], $parsedHeader['x-mws-timestamp']);

Expand Down

0 comments on commit 016fc15

Please sign in to comment.