enotice fix
authoreileenmcnaugton <eileen@fuzion.co.nz>
Mon, 28 Sep 2015 01:41:46 +0000 (14:41 +1300)
committereileenmcnaugton <eileen@fuzion.co.nz>
Mon, 28 Sep 2015 01:41:46 +0000 (14:41 +1300)
CRM/Core/Payment/PayPalImpl.php

index e513bace19376ec2ec0350cca74a26455d4de2a2..9ae063b39dbcea7fb5203904815b2dddfd204815 100644 (file)
@@ -575,7 +575,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
         $error[] = ts('Password is not set in the Administer &raquo; System Settings &raquo; Payment Processors.');
       }
     }
-    if (!$this->_paymentProcessor['user_name']) {
+    if (empty($this->_paymentProcessor['user_name'])) {
       $error[] = ts('User Name is not set in the Administer &raquo; System Settings &raquo; Payment Processors.');
     }