This commit is contained in:
David Bomba 2025-07-06 16:00:50 +10:00
parent 288a25dbce
commit ee6fb16266
3 changed files with 10 additions and 3 deletions

View File

@ -1 +1 @@
5.12.7
5.12.8

View File

@ -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);

View File

@ -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),