Permalink
Browse files

[UPDATE] bug fix

[UPDATE] bug fix when generating sample file when displaying error
occurred during the call
  • Loading branch information...
mikaelcom committed Oct 31, 2012
1 parent 4fd99ed commit 903672a338f7c7fe6aa1706e322209235ced2b51
Showing with 1 addition and 1 deletion.
  1. +1 −1 WsdlToPhp.php
@@ -1202,7 +1202,7 @@ private function generateTutorialFile($_packageName,$_rootDirectory,$_rootDirect
$content .= "\r\nif(\$$className->" . $classMethod->getName() . '(' . implode(',',$parameters) . '))';
$content .= "\r\n\t" . 'print_r($' . $className . '->getResult());';
$content .= "\r\nelse";
$content .= "\r\n\tprint_r(\$this->getLastError());";
$content .= "\r\n\tprint_r($" . $className . "->getLastError());";
}
}
}

0 comments on commit 903672a

Please sign in to comment.