← All changes
|
src/Views/Form/Templates/Classic/resources/css/variables.php
+1
-1
4.15.1
→
4.17.0
View file →
| @@ -3,7 +3,7 @@ | ||
| 3 | 3 | --give-header-background-image: url("<?= $headerBackgroundImage ?>"); |
| 4 | 4 | <?php if (!empty($headerBackgroundColor)) : ?> |
| 5 | 5 | --give-header-background-color--for-rgb: <?= hexdec(substr($headerBackgroundColor, 1, 2)) ?>, <?= hexdec(substr($headerBackgroundColor, 3, 2)) ?>, <?= hexdec(substr($headerBackgroundColor, 5, 2)) ?>; |
| 6 | 6 | <?php endif; ?> |
| 7 | - --give-header-stats-progressbar-color: <?= $statsProgressBarColor ?>; | |
| 7 | + --give-header-stats-progressbar-color: <?= sanitize_hex_color($statsProgressBarColor) ?? '' ?>; | |
| 8 | 8 | --give-primary-font: '<?= $primaryFont; ?>'; |
| 9 | 9 | } |