From de73c3d2ec04af5ed0cbc646ebe880e54234b16f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20G=C3=B6tzinger?= Date: Tue, 13 Feb 2018 14:38:25 +0100 Subject: [PATCH] Call static getInstance instead of protected contructor of AeoJavaScript --- src/Resources/contao/util/AeoFrontendUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/contao/util/AeoFrontendUtil.php b/src/Resources/contao/util/AeoFrontendUtil.php index bba91aa..3dc3849 100644 --- a/src/Resources/contao/util/AeoFrontendUtil.php +++ b/src/Resources/contao/util/AeoFrontendUtil.php @@ -92,7 +92,7 @@ class AeoFrontendUtil extends \Frontend { if (TL_MODE == 'FE') { global $objPage; $this->aeoUtil = new AeoUtil(); - $this->aeoJavaScript = new AeoJavaScript(); + $this->aeoJavaScript = AeoJavaScript::getInstance(); if ($GLOBALS['TL_CONFIG']['aeo_replace_standard_obfuscation'] === true) { $this->use_rot_13 = $GLOBALS['TL_CONFIG']['aeo_use_rot_13'];