Skip to content

Commit

Permalink
Bug #110583 Language constant for the PayPal SUBMIT button is not get…
Browse files Browse the repository at this point in the history
…ting value
  • Loading branch information
snehalpatil0904 committed Sep 14, 2017
1 parent 7fef149 commit 08833c0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions paypal/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,9 @@
defined('_JEXEC') or die('Restricted access');
jimport('joomla.plugin.plugin');

if (JVERSION >= '1.6.0')
{
require_once JPATH_SITE . '/plugins/payment/paypal/paypal/helper.php';
}
else
{
require_once JPATH_SITE . '/plugins/payment/paypal/helper.php';
require_once JPATH_SITE . '/plugins/payment/paypal/paypal/helper.php';
$lang = JFactory::getLanguage();
$lang->load('plg_payment_paypal', JPATH_ADMINISTRATOR);
}

/**
* PlgPaymentPaypal
Expand Down

0 comments on commit 08833c0

Please sign in to comment.