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. // Calculate some colors in dependance of existing colors.
// Some colors are calculated to don't have too many selection // Some colors are calculated to don't have too many selection