diff --git a/app/Jobs/Util/VersionCheck.php b/app/Jobs/Util/VersionCheck.php index 9662fa1b4136..9d04f9c3230a 100644 --- a/app/Jobs/Util/VersionCheck.php +++ b/app/Jobs/Util/VersionCheck.php @@ -34,7 +34,7 @@ class VersionCheck implements ShouldQueue */ public function handle() { - $version_file = file_get_contents(config('ninja.version_url')); + $version_file = trim(file_get_contents(config('ninja.version_url'))); info("latest version = {$version_file}"); diff --git a/app/Models/Company.php b/app/Models/Company.php index 3a001a9b8a3b..98e10abf485b 100644 --- a/app/Models/Company.php +++ b/app/Models/Company.php @@ -97,6 +97,8 @@ class Company extends BaseModel 'google_analytics_key', 'client_can_register', 'enable_shop_api', + 'invoice_task_timelog', + 'auto_start_tasks', ]; protected $hidden = [