diff --git a/VERSION.txt b/VERSION.txt index 3632ac139f..4608a1f5b2 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.11.50 \ No newline at end of file +5.11.51 \ No newline at end of file diff --git a/app/Http/Controllers/LicenseController.php b/app/Http/Controllers/LicenseController.php index 9ab4e7328f..60287db88b 100644 --- a/app/Http/Controllers/LicenseController.php +++ b/app/Http/Controllers/LicenseController.php @@ -180,7 +180,7 @@ class LicenseController extends BaseController nlog("Ninja Server Response"); nlog($payload); - if ($response->successful()) { + if ($response->successful() && is_array($payload)) { $account = auth()->user()->account; diff --git a/config/ninja.php b/config/ninja.php index 3ac15d7eed..d6894d17d8 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.11.50'), - 'app_tag' => env('APP_TAG', '5.11.50'), + 'app_version' => env('APP_VERSION', '5.11.51'), + 'app_tag' => env('APP_TAG', '5.11.51'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),