includes/api.inc has an error on line 951 that exists in 7.x-2.0-rc1 and 7.x-2.x-dev. The typo breaks the merci_confirm_reservation function. Here's the contents of the patch file fixing the issue, and the patch is attached.
--- api.inc 2013-03-21 16:07:21.609685470 -0400
+++ api.inc.patched 2013-03-21 16:07:31.713685562 -0400
@@ -948,7 +948,7 @@
//only update if MERCI Status is Unconfirmed
if ($node->merci_reservation_status == MERCI_STATUS_UNCONFIRMED) {
- $node->merci_reseravation_status = MERCI_STATUS_PENDING;
+ $node->merci_reservation_status = MERCI_STATUS_PENDING;
node_save($node);
return TRUE;
}
Comments
Comment #1
darrick commentedThanks for the patch. I've committed it here: http://drupalcode.org/project/merci.git/commit/3629234