Browse code

Add template code to TL_BODY

Benjamin Roth authored on21/03/2019 13:06:35
Showing1 changed files
... ...
@@ -89,7 +89,7 @@ class LegalAgeCheck extends \Frontend
89 89
 		//$objTemplate->modalBoxTemplate = addcslashes($objModalBoxTemplate->parse(), "\\'\"&\n\r");
90 90
 		
91 91
 		// Add dialog code to page
92
-		$GLOBALS['TL_JQUERY'][] = $objTemplate->parse();
92
+		$GLOBALS['TL_BODY'][] = $objTemplate->parse();
93 93
 
94 94
 
95 95
 	}