CRM-12385
authorDonald A. Lobo <lobo@civicrm.org>
Fri, 19 Apr 2013 14:40:08 +0000 (07:40 -0700)
committerDonald A. Lobo <lobo@civicrm.org>
Fri, 19 Apr 2013 14:40:08 +0000 (07:40 -0700)
----------------------------------------
* CRM-12385: SQL error in Payment Express Payment processing module
  http://issues.civicrm.org/jira/browse/CRM-12385

extern/pxIPN.php

index ebc563912f6abe12d02e60e750c9a18dbffc8d8b..2a85f2cf433c21f0759d9ce15aee93faa5b26e3d 100644 (file)
@@ -24,11 +24,11 @@ $config = CRM_Core_Config::singleton();
  */
 
 $query = "
-SELECT  url_site, password, user_name, signature
-FROM    civicrm_payment_processor
+SELECT    url_site, password, user_name, signature
+FROM      civicrm_payment_processor
 LEFT JOIN civicrm_payment_processor_type ON civicrm_payment_processor_type.id = civicrm_payment_processor.payment_processor_type_id
-WHERE   civicrm_payment_processor_type.name = 'Payment_Express'
-AND     user_name = %1
+WHERE     civicrm_payment_processor_type.name = 'Payment_Express'
+AND       user_name = %1
 ";
 $params = array(1 => array($_GET['userid'], 'String'));