Merge pull request #5085 from jim-parry/fix/xmlrpc
Fix typo in serializeval()
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index c766a89..6fa7918 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -1886,7 +1886,7 @@
public function serializeval($o)
{
$array = $o->me;
- list($value, $type) = array(reset($ar), key($array));
+ list($value, $type) = array(reset($array), key($array));
return "<value>\n".$this->serializedata($type, $value)."</value>\n";
}