MDL-21432 backup - root task, inforef and users handling completed, various fixes
This commit is contained in:
@@ -48,8 +48,8 @@ class restore_structure_parser_processor extends grouped_parser_processor {
|
||||
* Provide NULL and legacy file.php uses decoding
|
||||
*/
|
||||
public function process_cdata($cdata) {
|
||||
if (is_null($cdata)) { // Some cases we know we can skip complete processing
|
||||
return '$@NULL@$';
|
||||
if ($cdata === '$@NULL@$') { // Some cases we know we can skip complete processing
|
||||
return null;
|
||||
} else if ($cdata === '') {
|
||||
return '';
|
||||
} else if (is_numeric($cdata)) {
|
||||
|
||||
Reference in New Issue
Block a user