Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm.module |
— | — | @@ -277,7 +277,7 @@ |
278 | 278 | 'receive_date' => date('Y-m-d H:i:s', $msg['date']), |
279 | 279 | 'currency' => 'USD', |
280 | 280 | 'source' => $msg['original_currency'] . ' ' . $msg['original_gross'], |
281 | | - 'custom_45' => $msg['comment'] |
| 281 | + 'custom_45' => ( $msg['comment'] ) ? $msg['comment'] : '', |
282 | 282 | ); |
283 | 283 | |
284 | 284 | watchdog( 'queue2civicrm', 'Contribution array for civicrm_contribution_add(): ' . print_r($contribution, TRUE)); |