Skip to content

Commit

Permalink
Update order.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Aug 6, 2024
1 parent 902ffbd commit df9f691
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 @@ -2013,7 +2013,7 @@ public function removeReward(): void {
if (!$json) {
$this->load->model('customer/customer');

$this->model_customer_customer->deleteRewardByOrderId($order_id);
$this->model_customer_customer->deleteRewardsByOrderId($order_id);

$json['success'] = $this->language->get('text_reward_remove');
}
Expand Down

0 comments on commit df9f691

Please sign in to comment.