]> git.mjollnir.org Git - moodle.git/commitdiff
Mnet: Stylefix: Array was returned with unusual numeric index
authordonal72 <donal72>
Mon, 15 Jan 2007 09:00:39 +0000 (09:00 +0000)
committerdonal72 <donal72>
Mon, 15 Jan 2007 09:00:39 +0000 (09:00 +0000)
mnet/xmlrpc/xmlparser.php

index af958d2f8a021028f666b2273ba07c10f5b8e561..066265ff0cbc7b5f621c11416ac7e3cf1f641791 100644 (file)
@@ -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;
         }