Skip to content

Commit

Permalink
# [HIGH] Cannot update to new Joomla! version is "only minor" update …
Browse files Browse the repository at this point in the history
…strategy is selected.

Signed-off-by: Nicholas K. Dionysopoulos <[email protected]>
  • Loading branch information
nikosdion committed Apr 17, 2024
1 parent 04917cd commit 3fb836d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php die(); ?>
Akeeba Panopticon 1.1.3
================================================================================
# [HIGH] Cannot update to new Joomla! version is "only minor" update strategy is selected.

Akeeba Panopticon 1.1.2
================================================================================
~ Long PHP version is now truncated in Dashboard view
Expand Down
2 changes: 1 addition & 1 deletion src/Task/JoomlaUpdateDirector.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ private function processUpdateAction(string $updateAction, Registry $siteConfig)
$current = Version::create($siteConfig->get('core.current.version'));
$latest = Version::create($siteConfig->get('core.latest.version'));

return $current->major() === $current->minor() ? "update" : "email";
return $current->major() === $latest->major() ? "update" : "email";
break;
}
}
Expand Down

0 comments on commit 3fb836d

Please sign in to comment.