Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[UPDATE] minor bug fix

  • Loading branch information...
commit 2bd8707f21411a3bf8d40a10e8873caca1179f9a 1 parent 1c89783
Mikaël DELSOL authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  WsdlToPhpGenerator.php
2  WsdlToPhpGenerator.php
View
@@ -2530,7 +2530,7 @@ protected function manageWsdlNodeHeader($_wsdlLocation = '',DOMNode $_domNode,$_
/**
* Find it in the wsdls and avoid mutliple searches for the same message part
*/
- if(!empty($headerName) && !empty($headerMessage) && !in_array($headerName,$this->getServiceFunction($parentNode->getAttribute('name'))->getMetaValue('SOAPHeaderNames',array())))
+ if(!empty($headerName) && !empty($headerMessage) && $this->getServiceFunction($parentNode->getAttribute('name')) && !in_array($headerName,$this->getServiceFunction($parentNode->getAttribute('name'))->getMetaValue('SOAPHeaderNames',array())))
{
/**
* Indicate the required header name
Please sign in to comment.
Something went wrong with that request. Please try again.