Skip to content

Commit

Permalink
Merge pull request #13916 from TheCartpenter/patch-98
Browse files Browse the repository at this point in the history
Added last int on config_api_id
  • Loading branch information
danielkerr committed May 2, 2024
2 parents 0222f20 + cb6de3c commit 15b3dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/sale/order.php
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ public function call(): void {

$this->load->model('user/api');

$api_info = $this->model_user_api->getApi($this->config->get('config_api_id'));
$api_info = $this->model_user_api->getApi((int)$this->config->get('config_api_id'));

if (!$api_info) {
$json['error']['warning'] = $this->language->get('error_api');
Expand Down

0 comments on commit 15b3dee

Please sign in to comment.