- $content = array(
- 'activated' => generateDateTime($content['holiday_activated'], "1"),
- 'start' => generateDateTime($content['holiday_start'] , "1"),
- 'end' => generateDateTime($content['holiday_end'] , "1")
- );
+ $content = merge_array($content, array(
+ 'activated' => generateDateTime($content['holiday_activated'], 1),
+ 'start' => generateDateTime($content['holiday_start'] , 1),
+ 'end' => generateDateTime($content['holiday_end'] , 1)
+ ));