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

[frio] Accept 0 as a valid content background transparency in frio/style.php
This commit is contained in:
Michael Vogel 2022-07-14 05:37:38 +02:00 committed by GitHub
commit 974564f75e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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