From 08833c0ea9a93fc2e35f303663cedf5a5acbf1bd Mon Sep 17 00:00:00 2001 From: Snehal Patil Date: Thu, 14 Sep 2017 15:47:15 +0530 Subject: [PATCH] Bug #110583 Language constant for the PayPal SUBMIT button is not getting value --- paypal/paypal.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/paypal/paypal.php b/paypal/paypal.php index b588628..88ec712 100755 --- a/paypal/paypal.php +++ b/paypal/paypal.php @@ -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