Skip to content

Commit

Permalink
Update compare.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Apr 23, 2024
1 parent 7292651 commit 85a6aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/controller/product/compare.php
Expand Up @@ -103,7 +103,7 @@ public function index(): void {
} elseif ($this->config->get('config_stock_display')) {
$stock_status_id = 0;
} else {
$stock_status_id = $this->config->get('stock_status_id');
$stock_status_id = (int)$this->config->get('stock_status_id');
}

$stock_status_info = $this->model_localisation_stock_status->getStockStatus($stock_status_id);
Expand Down

0 comments on commit 85a6aa8

Please sign in to comment.