Merge pull request #11735 from MrPetovan/bug/11732-frio-scheme-accent

[frio] Accept 0 as a valid content background transparency in frio/style.php
pull/11740/head^2
Michael Vogel 2022-07-14 05:37:38 +02:00 zatwierdzone przez GitHub
commit 974564f75e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -123,7 +123,7 @@ if (!$scheme) {
}
}
$contentbg_transp = $contentbg_transp ?? 0 ?: 100;
$contentbg_transp = $contentbg_transp != '' ? $contentbg_transp : 100;
// Calculate some colors in dependance of existing colors.
// Some colors are calculated to don't have too many selection