Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Unban setting jumps back to 5min #92

Open
Tracked by #111
Yerrun opened this issue Jan 21, 2024 · 2 comments
Open
Tracked by #111

Automatic Unban setting jumps back to 5min #92

Yerrun opened this issue Jan 21, 2024 · 2 comments

Comments

@Yerrun
Copy link

Yerrun commented Jan 21, 2024

I have quite some cron job times in the Automatic Unban list. When I pick one from the list (other than 5min) and save it, the Automatic Unban time is saved.

But if I change any other setting on the page and save again, the Automatic Unban time jumps back to 5min.

@erikyo
Copy link
Collaborator

erikyo commented Jan 21, 2024

this is a minor problem but you are right that it is not correct in operation and you should check whether the settings have changed before resetting the timer

ref.

private function cf7a_input_cron_schedule( $input, $input_name, $cron_task, $schedule ) {

@Yerrun
Copy link
Author

Yerrun commented Jan 22, 2024

Yes, it's just a small bug. But it's just annoying that you have to save twice instead of once.

@erikyo erikyo mentioned this issue Jan 27, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants