From 61d5bb94c835eb686ea03c700a01976e8beee3fa Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Sun, 14 Jul 2024 00:59:27 +0200 Subject: [PATCH 1/2] Update RegisterController for PeriodicEvents API change This was missed in #532 ("Introducing PeriodicEvents instead of EventTriggers"). Attempting to open the "Application for college students" tab therefore resulted in a 500 error code because of the call to the undefined `getApplicationDeadline` method. --- app/Http/Controllers/Auth/RegisterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index f3522e7b0..eb471958b 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -50,7 +50,7 @@ public function showRegistrationForm() { return view('auth.register', [ 'user_type' => Role::COLLEGIST, - 'application_open' => ApplicationController::getApplicationDeadline() > now(), + 'application_open' => app(ApplicationController::class)->isActive(), // 'countries' => require base_path('countries.php'), ]); } From 6486a4225538236b5aac2a7fc54ad607e4ae1ebd Mon Sep 17 00:00:00 2001 From: Balint Horcsin Date: Sun, 14 Jul 2024 13:19:11 +0200 Subject: [PATCH 2/2] Upgrade version number --- config/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index daeed0307..8297d9719 100644 --- a/config/app.php +++ b/config/app.php @@ -15,7 +15,7 @@ 'name' => env('APP_NAME', 'UrĂ¡n'), - 'version' => '3.23.2', // update on release + 'version' => '3.23.3', // update on release 'logo_blue_path' => env('APP_ENV', "local") != "production" ? '/img/mars.png' : '/img/uran_blue.png',