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/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'] = []; } 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'] = []; } 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),