Skip to content

Commit

Permalink
[5.2] fix for undefined property: $module (#44280)
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon authored Nov 1, 2024
1 parent 7e6ac90 commit 94bd619
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plugins/actionlog/joomla/src/Extension/Joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94bd619

Please sign in to comment.