diff --git a/src/include/functions_common.php b/src/include/functions_common.php index fa3d180..ea36af3 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -1202,6 +1202,9 @@ function OutputDebugMessage($szDbg, $szDbgLevel = DEBUG_INFO) // Check if we should print the Error! if ( GetConfigSetting("MiscShowDebugMsg", 0, CFGLEVEL_USER) == 1 ) { + // Also enable the template helper variable here! + $content['SHOWDEBUGMSG'] = true; + $content['DEBUGMSG'][] = array( "DBGLEVEL" => $szDbgLevel, "DBGLEVELTXT" => GetDebugModeString($szDbgLevel),