Skip to content

Commit

Permalink
Update upgrade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Apr 26, 2024
1 parent 6c2f992 commit ea2e814
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions upload/admin/controller/tool/upgrade.php
Expand Up @@ -60,9 +60,7 @@ public function index(): void {
} else {
$response_info = [];
}

$response_info = json_decode($response, true);


if ($response_info) {
$data['latest_version'] = $response_info['version'];
$data['date_added'] = date($this->language->get('date_format_short'), strtotime($response_info['date_added']));
Expand Down

0 comments on commit ea2e814

Please sign in to comment.