causefx 7 лет назад
Родитель
Сommit
1cd6cbea43
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      api/functions/homepage-connect-functions.php

+ 2 - 1
api/functions/homepage-connect-functions.php

@@ -1159,7 +1159,8 @@ function getCalendar()
 							'imagetypeFilter' => 'ical',
 							'className' => 'bg-calendar calendar-item bg-custom-calendar',
 							'start' => $startDate,
-							'end' => $endDate
+							'end' => $endDate,
+							'bgColor' => str_replace('text', 'bg', $extraClass),
 						);
 					}
 				}