Do not try to apply the company color style if no company color value is available

This commit is contained in:
Alex Tselegidis 2022-07-26 16:40:53 +03:00
parent cec1ef6175
commit 0f67dbaddc

View file

@ -4,7 +4,7 @@
*/ */
?> ?>
<?php if ($company_color !== DEFAULT_COMPANY_COLOR): ?> <?php if ( ! empty($company_color) && $company_color !== DEFAULT_COMPANY_COLOR): ?>
<style> <style>
/* Generic Overrides */ /* Generic Overrides */
@ -68,7 +68,7 @@
} }
body .modal-header { body .modal-header {
background: <?= $company_color ?> !important; background: <?= $company_color ?> !important;
} }
.fc-daygrid-event { .fc-daygrid-event {