rename booking_event_id in booking_person table
This commit is contained in:
@@ -70,7 +70,7 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE)
|
||||
}
|
||||
else
|
||||
{
|
||||
$query->condition('p.booking_event_id', $event->eid, '=');
|
||||
$query->condition('p.booking_eventid', $event->eid, '=');
|
||||
}
|
||||
|
||||
//add the database fields we always want to retrieve
|
||||
@@ -151,7 +151,7 @@ function booking_insert($node) {
|
||||
db_insert('booking_person')
|
||||
->fields(array(
|
||||
'nid' => $node->nid,
|
||||
'booking_event_id' => $node->booking_event_id,
|
||||
'booking_eventid' => $node->booking_eventid,
|
||||
'booking_firstname' => $node->booking_firstname,
|
||||
'booking_lastname' => $node->booking_lastname,
|
||||
'booking_dob' => $node->booking_dob,
|
||||
|
Reference in New Issue
Block a user