From: Donald A. Lobo Date: Fri, 19 Apr 2013 14:40:08 +0000 (-0700) Subject: CRM-12385 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f2e565d039fdfe2b9bb90794ade234912feecd94;p=civicrm-core.git CRM-12385 ---------------------------------------- * CRM-12385: SQL error in Payment Express Payment processing module http://issues.civicrm.org/jira/browse/CRM-12385 --- diff --git a/extern/pxIPN.php b/extern/pxIPN.php index ebc563912f..2a85f2cf43 100644 --- a/extern/pxIPN.php +++ b/extern/pxIPN.php @@ -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'));