Skip to content

Commit

Permalink
Fixed reference to undefined variable
Browse files Browse the repository at this point in the history
Closes #33
  • Loading branch information
getdatakick committed Sep 5, 2022
1 parent 5190433 commit c717522
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion paypal.php
Expand Up @@ -906,8 +906,10 @@ public function hookHeader()
]
);

$process = '';

if (Configuration::get(static::LOGIN_ENABLED) || Configuration::get(static::EXPRESS_CHECKOUT_ENABLED)) {
$process = $this->display(__FILE__, 'views/templates/front/paypaljs.tpl');
$process .= $this->display(__FILE__, 'views/templates/front/paypaljs.tpl');
$process .= '<script async defer type="text/javascript" src="//www.paypalobjects.com/api/checkout.js"></script>';
}

Expand Down

0 comments on commit c717522

Please sign in to comment.