Skip to content

Commit

Permalink
Set soapheaders null before loading new ones?
Browse files Browse the repository at this point in the history
  • Loading branch information
DerMika committed Feb 3, 2016
1 parent 27263d9 commit 6478558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Amadeus/Client/Session/Handler/SoapHeader4.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ protected function prepareForNextMessage($messageName, $messageOptions)

$headers = $this->createSoapHeaders($this->sessionData, $this->params, $messageName, $messageOptions);

$this->getSoapClient()->__setSoapHeaders(null);
$this->getSoapClient()->__setSoapHeaders($headers);
}

Expand Down

0 comments on commit 6478558

Please sign in to comment.