mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix nusoap bug
This commit is contained in:
parent
55f5c6663d
commit
d4f61dcf59
|
|
@ -55,6 +55,11 @@ NUSOAP:
|
|||
preg_match('/\$Revision: ([^ ]+)/', $this->revision, $rev);
|
||||
$this->outgoing_headers[] = "X-SOAP-Server: $this->title/$this->version (".(isset($rev[1]) ? $rev[1] : '').")";
|
||||
|
||||
* Line 6566 of file nusoap.php, replace
|
||||
|
||||
if (count($attrs) > 0) {
|
||||
with
|
||||
if (is_array($attrs) && count($attrs) > 0) {
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6563,7 +6563,7 @@ class wsdl extends nusoap_base
|
|||
$elements = $eElements;
|
||||
}
|
||||
|
||||
if (count($attrs) > 0) {
|
||||
if (is_array($attrs) && count($attrs) > 0) {
|
||||
$eAttrs = array ();
|
||||
foreach ($attrs as $n => $a) {
|
||||
$aa = array ();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user