From: donal72 Date: Mon, 15 Jan 2007 09:00:39 +0000 (+0000) Subject: Mnet: Stylefix: Array was returned with unusual numeric index X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=82b29ea15ac3f6b361855445d3485ef0dfbf8ed9;p=moodle.git Mnet: Stylefix: Array was returned with unusual numeric index --- diff --git a/mnet/xmlrpc/xmlparser.php b/mnet/xmlrpc/xmlparser.php index af958d2f8a..066265ff0c 100644 --- a/mnet/xmlrpc/xmlparser.php +++ b/mnet/xmlrpc/xmlparser.php @@ -90,6 +90,7 @@ class mnet_encxml_parser { $p = xml_parse($this->parser, $data); if (count($this->cipher) > 0) { + $this->cipher = array_values($this->cipher); $this->payload_encrypted = true; }