Correct spelling of function name. More to come...

This commit is contained in:
Miles Lott 2006-06-15 11:38:21 +00:00
parent b978be2eec
commit e14cc06c49
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@
</member>
<member>
<name>faultString</name>
<value><string>' . xmlrpc_encode_entitites($this->errstr) . '</string></value>
<value><string>' . xmlrpc_encode_entities($this->errstr) . '</string></value>
</member>
</struct>
</value>

View File

@ -209,7 +209,7 @@
case xmlrpcString:
// G. Giunta 2005/2/13: do NOT use htmlentities, since
// it will produce named html entities, which are invalid xml
$rs.="<${typ}>" . xmlrpc_encode_entitites($val). "</${typ}>";
$rs.="<${typ}>" . xmlrpc_encode_entities($val). "</${typ}>";
// $rs.="<${typ}>" . htmlentities($val). "</${typ}>";
break;
default:

View File

@ -192,7 +192,7 @@
* are independent of the charset encoding used to transmit them, and all XML
* parsers are bound to understand them.
*/
function xmlrpc_encode_entitites($data)
function xmlrpc_encode_entities($data)
{
$length = strlen($data);
$escapeddata = "";