Fix: Warning in nusoap with PHP 5.3
This commit is contained in:
parent
0e715c7075
commit
9df4f1ad7e
@ -7,6 +7,15 @@ ALL:
|
|||||||
Replace "& new" by "new"
|
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:
|
FPDF:
|
||||||
-----
|
-----
|
||||||
* All changes were added in fpdf.php file and marked with tag DOLCHANGE or DOL_CHANGE
|
* 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
@ -56,13 +56,15 @@ echo '</head>'."\n";
|
|||||||
|
|
||||||
echo '<body>'."\n";
|
echo '<body>'."\n";
|
||||||
|
|
||||||
echo "<h2>Request</h2>";
|
echo "<h2>Request:</h2>";
|
||||||
echo '<h4>Function</h4>';
|
echo '<h4>Function</h4>';
|
||||||
echo $WS_METHOD;
|
echo $WS_METHOD;
|
||||||
echo '<h4>SOAP Message</h4>';
|
echo '<h4>SOAP Message</h4>';
|
||||||
echo '<pre>' . htmlspecialchars($soapclient->request, ENT_QUOTES) . '</pre>';
|
echo '<pre>' . htmlspecialchars($soapclient->request, ENT_QUOTES) . '</pre>';
|
||||||
|
|
||||||
echo "<h2>Response</h2>";
|
echo '<hr>';
|
||||||
|
|
||||||
|
echo "<h2>Response:</h2>";
|
||||||
echo '<h4>Result</h4>';
|
echo '<h4>Result</h4>';
|
||||||
echo '<pre>';
|
echo '<pre>';
|
||||||
print_r($result);
|
print_r($result);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user