At line 432 of xmlrpcs.php, php shows an annoying warning: "Undefined offset: 1"
The following piece of code fixes this little problem :


// Check signature.
if (isset($dmap[$methName]['signature']))
{
$sig = $dmap[$methName]['signature'];
$verSig = $this->verifySignature($m, $sig);
$ok = $verSig[0]; if (!$ok)
{
// Didn't match.
$errstr = $verSig[1];
return new xmlrpcresp(0,
$xmlrpcerr['incorrect_params'],
$xmlrpcstr['incorrect_params'] . ": ${errstr}");
}
}


Thanks.
Regards.

--
SpeedTech
eng. Roberto Gerola

Member of Italy Engineers Guild
Member of PMI (Project Management Institute)
Member of IWA (International Webmasters Association)

Email : [EMAIL PROTECTED]
WWW : http://www.speedtech.it

PGP Public Key : http://www.speedtech.it/gpg/robertogerola_pubkey.asc



_______________________________________________
phpxmlrpc mailing list
[EMAIL PROTECTED]
http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc

Reply via email to