Skip to content

Commit

Permalink
Merge pull request #288 from condor2/patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Jun 4, 2024
2 parents dd8ff7a + 6b1f28f commit 5c84d9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/admin/controller/extension/payment/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2109,14 +2109,14 @@ public function customer_delete_customer_before($route, &$data) {

public function order_info_before($route, &$data) {
if ($this->config->get('payment_paypal_status') && !empty($this->request->get['order_id'])) {
$this->load->language('extension/payment/paypal');
$this->load->language('extension/payment/paypal','extension_payment_paypal');

$content = $this->getPaymentDetails((int)$this->request->get['order_id']);

if ($content) {
$data['tabs'][] = array(
'code' => 'paypal',
'title' => $this->language->get('heading_title_main'),
'title' => $this->language->get('extension_payment_paypal')->get('heading_title_main'),
'content' => $content
);
}
Expand Down Expand Up @@ -3306,4 +3306,4 @@ private function token($length = 32) {

return $token;
}
}
}

0 comments on commit 5c84d9a

Please sign in to comment.