r49497 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49496‎ | r49497 | r49498 >
Date:08:37, 15 April 2009
Author:straussd
Status:deferred
Tags:
Comment:
Fix a few bugs.
Modified paths:
  • /civicrm/trunk/sites/all/modules/civicrm_api/civicrm_api.module (modified) (history)
  • /civicrm/trunk/sites/all/modules/fundcore/gateways/fundcore_paypal.module (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/civicrm_api/civicrm_api.module
@@ -6,7 +6,7 @@
77 $tag_id = db_result(db_query('SELECT id FROM civicrm_tag WHERE name = "%s"', $tag));
88
99 if (!$tag_id) {
10 - db_query('INSERT INTO civicrm_tag (name) VALUES ("%s")', $tag);
 10+ db_query('INSERT INTO civicrm_tag (name) VALUES ("%s")', $tag);
1111 $tag_id = db_last_insert_id('civicrm_tag', 'id');
1212 }
1313
Index: civicrm/trunk/sites/all/modules/fundcore/gateways/fundcore_paypal.module
@@ -51,7 +51,7 @@
5252 $attr['cmd'] = '_notify-validate';
5353
5454 //$status = _fundcore_paypal_download($postback_url, $attr);
55 - $status = 'VERIFIED';
 55+ $status = 'FAIL-NO-CURL';
5656
5757 if ($status != 'VERIFIED') {
5858 watchdog('fundcore_paypal', check_plain($status) . '<br /><pre>' . check_plain(print_r($attr, TRUE)) . '</pre>', array(), WATCHDOG_ERROR);

Status & tagging log