Skip to content

Commit

Permalink
iCal import improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
acrollet authored Feb 15, 2017
2 parents 91f1357 + f423cf6 commit 73d1892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roomify_channel_ical.module
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ function roomify_channel_ical_update_availability($data) {
'field_description' => array(LANGUAGE_NONE => array(0 => array('value' => $event->description))),
'field_summary' => array(LANGUAGE_NONE => array(0 => array('value' => $event->summary))),
'field_ical_type' => array(LANGUAGE_NONE => array(0 => array('value' => $data['ical_type']))),
'booking_price' => array(LANGUAGE_NONE => array(0 => array('amount' => 0, 'currency_code' => commerce_default_currency()))),
);
$booking = bat_booking_create($booking);
$booking->save();
Expand Down

0 comments on commit 73d1892

Please sign in to comment.