Numerous changes. Travel form, CSV report etc

This commit is contained in:
2014-04-11 16:24:16 +10:00
parent fec1c040d5
commit 596b64aa8d
5 changed files with 56 additions and 26 deletions

View File

@@ -321,8 +321,8 @@ function _booking_travelform_confirmation_email($nid)
global $user;
$language = user_preferred_language($user);
//load the node matching this id
$node = node_load($nid);
//load the node matching this id from the database, ignoring the cache
$node = node_load($nid, NULL, TRUE);
$tokens = booking_define_personspecific_tokens($node);
watchdog('booking', 'Sending travelform confirmation email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));