Skip to content

Commit

Permalink
Shorten the PayPal Checkout language parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Jun 12, 2024
1 parent c3f5687 commit b917585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/controller/extension/payment/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2112,14 +2112,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', 'extension_payment_paypal');
$this->load->language('extension/payment/paypal', 'extension');

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

if ($content) {
$data['tabs'][] = array(
'code' => 'paypal',
'title' => $this->language->get('extension_payment_paypal')->get('heading_title_main'),
'title' => $this->language->get('extension')->get('heading_title_main'),
'content' => $content
);
}
Expand Down

0 comments on commit b917585

Please sign in to comment.