public $_fields = [];
/**
- * @var array current payment processor including a copy of the object in 'object' key
+ * Current payment processor including a copy of the object in 'object' key.
+ *
+ * @var array
*/
public $_paymentProcessor;
FROM civicrm_contribution_product
WHERE contribution_id = {$id}
";
- $dao = CRM_Core_DAO::executeQuery($sql,
- CRM_Core_DAO::$_nullArray
- );
+ $dao = CRM_Core_DAO::executeQuery($sql);
if ($dao->fetch()) {
$this->_premiumID = $dao->id;
$this->_productDAO = $dao;