Bugfixes
This commit is contained in:
@@ -13,14 +13,13 @@
|
||||
$language = user_preferred_language($user);
|
||||
//$account = $user;
|
||||
|
||||
//flush cache for this node
|
||||
entity_get_controller('node')->resetCache(array($nid));
|
||||
|
||||
//load the node matching this id
|
||||
|
||||
//TODO: Put this back in after testing
|
||||
$node = node_load($nid);
|
||||
//TODO: remove this after testing
|
||||
//$node = $nid
|
||||
|
||||
watchdog('booking', 'Sending email: @info', array('@info' => var_export($node, TRUE)));
|
||||
watchdog('booking', 'Sending registration email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
|
||||
//waiting list has already been calculated, stored in node
|
||||
$waiting_list = $node->booking_status == 2 ? TRUE : FALSE;
|
||||
|
Reference in New Issue
Block a user