From 2e45c72a2019252f20cc135f522b2ec334e11cbe Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 29 Jul 2010 03:41:16 +0000 Subject: [PATCH] MDL-23479 missing global --- backup/util/helper/restore_structure_parser_processor.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/backup/util/helper/restore_structure_parser_processor.class.php b/backup/util/helper/restore_structure_parser_processor.class.php index b842542162e..29ab6a59004 100644 --- a/backup/util/helper/restore_structure_parser_processor.class.php +++ b/backup/util/helper/restore_structure_parser_processor.class.php @@ -48,6 +48,7 @@ class restore_structure_parser_processor extends grouped_parser_processor { * Provide NULL and legacy file.php uses decoding */ public function process_cdata($cdata) { + global $CFG; if ($cdata === '$@NULL@$') { // Some cases we know we can skip complete processing return null; } else if ($cdata === '') {