From b54efb4627adbbd8a68bdbcc4adb13993fb8b140 Mon Sep 17 00:00:00 2001 From: Sonny Le Date: Tue, 20 Aug 2024 15:59:28 +0700 Subject: [PATCH] Update onBeforeRender trigger --- plugins/astroid/src/Extension/AstroidPlugin.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/astroid/src/Extension/AstroidPlugin.php b/plugins/astroid/src/Extension/AstroidPlugin.php index a5f2185b..71a306f4 100644 --- a/plugins/astroid/src/Extension/AstroidPlugin.php +++ b/plugins/astroid/src/Extension/AstroidPlugin.php @@ -62,9 +62,7 @@ public function onBeforeRender() if (!file_exists(JPATH_LIBRARIES . '/astroid/framework/library/astroid')) { return false; } - if (Framework::isSite()) { - Framework::getClient()->onBeforeRender(); - } + Framework::getClient()->onBeforeRender(); } public function onAfterRender()