Skip to content

Commit 5cda4c8

Browse files
authored
[5.4] Fix auto-registration for autoupdates for new installs (joomla#45754)
Auto-Update registration state is correctly stored in the config.
1 parent 92aadb3 commit 5cda4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_joomlaupdate/src/Model/UpdateModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public function changeAutoUpdateRegistration(AutoupdateRegisterState $targetStat
632632
($targetState === AutoupdateRegisterState::Subscribe)
633633
? AutoupdateRegisterState::Subscribed
634634
: AutoupdateRegisterState::Unsubscribed,
635-
($targetState === AutoupdateRegisterState::Unsubscribed)
635+
($targetState === AutoupdateRegisterState::Subscribe)
636636
);
637637

638638
return AutoupdateRegisterResultState::Success;

0 commit comments

Comments
 (0)