368 $day_name = date('D',strtotime($year.'-'.$month.'-'.$date));
369$full_count = (isset($booked_defaults[$day_name]) && !empty($booked_defaults[$day_name]) ? $booked_defaults[$day_name] : false);
370 $total_full_count = 0;
371 if ($full_count):
372 foreach($full_count as $full_counter){
373 $total_full_count = $total_full_count + $full_counter;
374 }
375 endif;