Index: branches/unlabeled/unlabeled-1.62.2/core/kernel/processors/main_processor.php =================================================================== diff -u -r6367 -r6410 --- branches/unlabeled/unlabeled-1.62.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 6367) +++ branches/unlabeled/unlabeled-1.62.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 6410) @@ -898,7 +898,7 @@ function XMLTemplate($params) { - define('DBG_SKIP_REPORTING', 1); + safeDefine('DBG_SKIP_REPORTING', 1); $lang =& $this->Application->recallObject('lang.current'); header('Content-type: text/xml; charset='.$lang->GetDBField('Charset')); }