diff --git a/plugins/actionlog/joomla/joomla.php b/plugins/actionlog/joomla/joomla.php index 1251d105158bc..a745c302f67d7 100644 --- a/plugins/actionlog/joomla/joomla.php +++ b/plugins/actionlog/joomla/joomla.php @@ -30,6 +30,14 @@ class PlgActionlogJoomla extends ActionLogPlugin */ protected $loggableExtensions = array(); + /** + * Context aliases + * + * @var array + * @since 3.9.0 + */ + protected $contextAliases = array('com_content.form' => 'com_content.article'); + /** * Constructor. * @@ -62,6 +70,11 @@ public function __construct(&$subject, $config) */ public function onContentAfterSave($context, $article, $isNew) { + if (isset($this->contextAliases[$context])) + { + $context = $this->contextAliases[$context]; + } + $option = $this->app->input->getCmd('option'); if (!$this->checkLoggable($option))