Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc |
— | — | @@ -281,9 +281,9 @@ |
282 | 282 | */ |
283 | 283 | function _queue2civicrm_update_contribution_tracking( $msg, $contribution ) { |
284 | 284 | if (array_key_exists( 'contribution_tracking_id', $msg )) { |
285 | | - $result = db_query('UPDATE {contribution_tracking} SET contribution_id = %d WHERE id = %d LIMIT 1', $contribution['id'], $msg['contribution_tracking_id']); |
| 285 | + $result = db_query('UPDATE {contribution_tracking} SET contribution_id=%d WHERE id=%d', $contribution['id'], $msg['contribution_tracking_id']); |
286 | 286 | if ( !$result ) { |
287 | | - watchdog( 'queue2civicrm', "There was a probme updating contribution_tracking for message: %msg", print_r( $msg, true ), ERROR ); |
| 287 | + watchdog( 'queue2civicrm', "There was a probme updating contribution_tracking for message: %msg", print_r( $msg, true ), WATCHDOG_ERROR ); |
288 | 288 | return FALSE; |
289 | 289 | } else { |
290 | 290 | watchdog( 'queue2civicrm', 'Successfuly updated contribution_tracking for message: %msg', print_r( $msg, true)); |