Skip to content

Commit

Permalink
Fix version comparison on About tab
Browse files Browse the repository at this point in the history
  • Loading branch information
johannac committed Jan 19, 2023
1 parent 87c5fbc commit a018c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ManageAccountController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getVersionInfo()
$http_client = new Client();
$response = $http_client->get('https://raw.githubusercontent.com/Attendize/Attendize/master/VERSION');
$latestVersion = Utils::parse_version((string)$response->getBody());
$installedVersion = file_get_contents(base_path('VERSION'));
$installedVersion = trim(file_get_contents(base_path('VERSION')));
} catch (\Exception $exception) {
\Log::warn("Error retrieving the latest Attendize version. ManageAccountController.getVersionInf() try/catch");
\Log::warn($exception);
Expand Down

0 comments on commit a018c87

Please sign in to comment.