Skip to content

Commit

Permalink
https://github.com/opencart/opencart/issues/2585
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Feb 8, 2015
1 parent 0ced16a commit ab30b97
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions upload/catalog/controller/payment/pp_standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,7 @@ public function callback() {
break;
}

if (!$order_info['order_status_id']) {
$this->model_checkout_order->addOrderHistory($order_id, $order_status_id);
} else {
$this->model_checkout_order->addOrderHistory($order_id, $order_status_id);
}
$this->model_checkout_order->addOrderHistory($order_id, $order_status_id);
} else {
$this->model_checkout_order->addOrderHistory($order_id, $this->config->get('config_order_status_id'));
}
Expand Down

0 comments on commit ab30b97

Please sign in to comment.