Browse files

[UPDATE] minor bug fix

  • Loading branch information...
1 parent 1c89783 commit 2bd8707f21411a3bf8d40a10e8873caca1179f9a @mikaelcom committed Apr 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 WsdlToPhpGenerator.php
View
2 WsdlToPhpGenerator.php
@@ -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

0 comments on commit 2bd8707

Please sign in to comment.