// Prepare all data for the template
$content = array(
- 'activated' => generateDateTime($content['holiday_activated'], '1'),
- 'start' => generateDateTime($content['holiday_start'] , '1'),
- 'end' => generateDateTime($content['holiday_end'] , '1')
+ 'activated' => generateDateTime($content['holiday_activated'], 1),
+ 'start' => generateDateTime($content['holiday_start'] , 1),
+ 'end' => generateDateTime($content['holiday_end'] , 1)
);
// Send email to user