From 0db1537539639bf89bf86bb5febe75a57d3ff349 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 11 Dec 2023 22:56:24 +1100 Subject: [PATCH 1/3] Fixes for scheduler --- app/Http/Requests/TaskScheduler/StoreSchedulerRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/TaskScheduler/StoreSchedulerRequest.php b/app/Http/Requests/TaskScheduler/StoreSchedulerRequest.php index 6dfaf8423402..e6e5556174b2 100644 --- a/app/Http/Requests/TaskScheduler/StoreSchedulerRequest.php +++ b/app/Http/Requests/TaskScheduler/StoreSchedulerRequest.php @@ -67,7 +67,7 @@ class StoreSchedulerRequest extends Request $input['frequency_id'] = 0; } - if(isset($input['parameters']) && isset($input['parameters']['clients'])) { + if(isset($input['parameters']) && !isset($input['parameters']['clients'])) { $input['parameters']['clients'] = []; } From 680a1f235cb02d807d13766d48412551f4907275 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 11 Dec 2023 22:56:40 +1100 Subject: [PATCH 2/3] Fixes for scheduler --- app/Http/Requests/TaskScheduler/UpdateSchedulerRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/TaskScheduler/UpdateSchedulerRequest.php b/app/Http/Requests/TaskScheduler/UpdateSchedulerRequest.php index 81a8ad492643..882c5f971271 100644 --- a/app/Http/Requests/TaskScheduler/UpdateSchedulerRequest.php +++ b/app/Http/Requests/TaskScheduler/UpdateSchedulerRequest.php @@ -63,7 +63,7 @@ class UpdateSchedulerRequest extends Request $input['frequency_id'] = 0; } - if(isset($input['parameters']) && isset($input['parameters']['clients'])) { + if(isset($input['parameters']) && !isset($input['parameters']['clients'])) { $input['parameters']['clients'] = []; } From 6238d45bbdbc981c966c1fba80c54099228166bf Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 11 Dec 2023 22:57:39 +1100 Subject: [PATCH 3/3] v5.7.61 --- VERSION.txt | 2 +- config/ninja.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index d24b80453203..5fd68abd0349 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.7.60 \ No newline at end of file +5.7.61 \ No newline at end of file diff --git a/config/ninja.php b/config/ninja.php index 87c3a2fa2a94..9132ad5f793d 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -17,8 +17,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => env('APP_VERSION', '5.7.60'), - 'app_tag' => env('APP_TAG', '5.7.60'), + 'app_version' => env('APP_VERSION', '5.7.61'), + 'app_tag' => env('APP_TAG', '5.7.61'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),