diff --git a/plugins/actionlog/joomla/src/Extension/Joomla.php b/plugins/actionlog/joomla/src/Extension/Joomla.php index be2683ae77b98..64d56acf74223 100644 --- a/plugins/actionlog/joomla/src/Extension/Joomla.php +++ b/plugins/actionlog/joomla/src/Extension/Joomla.php @@ -531,11 +531,7 @@ public function onExtensionAfterSave(Model\AfterSaveEvent $event): void $table = $event->getItem(); $isNew = $event->getIsNew(); - $option = $this->getApplication()->getInput()->getCmd('option'); - - if ($table->module != null) { - $option = 'com_modules'; - } + [$option] = explode('.', $context); if (!$this->checkLoggable($option)) { return;