diff --git a/application/controllers/Update.php b/application/controllers/Update.php index e73488aff..eb6302b01 100644 --- a/application/controllers/Update.php +++ b/application/controllers/Update.php @@ -451,6 +451,10 @@ class Update extends CI_Controller { } else { $this->session->set_flashdata('error', __("HAMqsl Update failed. Result: ") . "'" . $result . "'"); } + + $this->load->model('cron_model'); + $this->cron_model->set_last_run($this->router->class.'_'.$this->router->method); + redirect('debug'); } else { echo $result; diff --git a/application/views/debug/index.php b/application/views/debug/index.php index d71c45bfc..a477ff5bc 100644 --- a/application/views/debug/index.php +++ b/application/views/debug/index.php @@ -566,7 +566,7 @@ - last_run ?? __("never"); ?> + last_run ?? __("never"); ?>