Skip to content

Commit

Permalink
https://github.com/opencart/opencart/issues/12661
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Apr 6, 2024
1 parent 37b1d8d commit ee3ea06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/model/checkout/order.php
Expand Up @@ -238,7 +238,7 @@ public function addProduct(int $order_id, array $data): int {
}

// If subscription add details
if (isset($data['subscription'])) {
if (!empty($data['subscription'])) {
$this->model_checkout_order->addSubscription($order_id, $order_product_id, $data['subscription']);
}

Expand Down

0 comments on commit ee3ea06

Please sign in to comment.