Fix: Warning in nusoap with PHP 5.3

This commit is contained in:
Laurent Destailleur 2010-04-13 21:33:02 +00:00
parent 0e715c7075
commit 9df4f1ad7e
3 changed files with 255 additions and 241 deletions

View File

@ -7,6 +7,15 @@ ALL:
Replace "& new" by "new"
NUSOAP:
-------
* In file nusoap.php, to avoid a warning,
Replace
if (isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
By
if (! is_array($this->methodreturn) && isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
FPDF:
-----
* All changes were added in fpdf.php file and marked with tag DOLCHANGE or DOL_CHANGE

File diff suppressed because it is too large Load Diff

View File

@ -56,13 +56,15 @@ echo '</head>'."\n";
echo '<body>'."\n";
echo "<h2>Request</h2>";
echo "<h2>Request:</h2>";
echo '<h4>Function</h4>';
echo $WS_METHOD;
echo '<h4>SOAP Message</h4>';
echo '<pre>' . htmlspecialchars($soapclient->request, ENT_QUOTES) . '</pre>';
echo "<h2>Response</h2>";
echo '<hr>';
echo "<h2>Response:</h2>";
echo '<h4>Result</h4>';
echo '<pre>';
print_r($result);