From 75466733f7114f2fc885e995cf3d6c2d20a0ab54 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Mon, 28 Sep 2015 14:41:46 +1300 Subject: [PATCH] enotice fix --- CRM/Core/Payment/PayPalImpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index e513bace19..9ae063b39d 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -575,7 +575,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { $error[] = ts('Password is not set in the Administer » System Settings » Payment Processors.'); } } - if (!$this->_paymentProcessor['user_name']) { + if (empty($this->_paymentProcessor['user_name'])) { $error[] = ts('User Name is not set in the Administer » System Settings » Payment Processors.'); } -- 2.25.1