diff --git a/VERSION.txt b/VERSION.txt index 082eb5fd8c..31a3d5d53e 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.12.7 \ No newline at end of file +5.12.8 \ No newline at end of file diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index c89d888c23..f2eec912ae 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -191,11 +191,18 @@ class CheckData extends Command $this->logMessage("Task #{$task->id} has a time log with more than 4 elements"); + if($this->option('tasks') == 'true'){ + $log = [(int)$log[0], (int)$log[1], (string)$log[2], (bool)$log[3]]; + } + } + elseif(count($log) == 4){ + if($this->option('tasks') == 'true'){ $log = [(int)$log[0], (int)$log[1], (string)$log[2], (bool)$log[3]]; } } } + unset($log); // Unset the reference variable if($this->option('tasks') == 'true'){ $task->time_log = json_encode($time_log); diff --git a/config/ninja.php b/config/ninja.php index 0749b70e06..ada62f685d 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.12.7'), - 'app_tag' => env('APP_TAG', '5.12.7'), + 'app_version' => env('APP_VERSION', '5.12.8'), + 'app_tag' => env('APP_TAG', '5.12.8'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),