mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-13631 Removed a pass-by-reference that was causing a notice in PHP5
This commit is contained in:
parent
3d535996db
commit
2060540b53
@ -66,7 +66,8 @@ class XML{
|
||||
xml_set_character_data_handler($this->parser, 'data');
|
||||
}
|
||||
function destruct(){ xml_parser_free($this->parser); }
|
||||
function & parse(&$data){
|
||||
//function & parse(&$data){ // Changed for Moodle MDL-13631
|
||||
function parse(&$data){
|
||||
$this->document = array();
|
||||
$this->stack = array();
|
||||
$this->parent = &$this->document;
|
||||
|
Loading…
x
Reference in New Issue
Block a user