From c50b3d671e1c5dd36a8dcc82b899098a07499b94 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 13 Jul 2022 17:51:07 -0400 Subject: [PATCH] [frio] Accept 0 as a valid content background transparency in frio/style.php --- view/theme/frio/style.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/frio/style.php b/view/theme/frio/style.php index 81d750d0a1..58bee7eaee 100644 --- a/view/theme/frio/style.php +++ b/view/theme/frio/style.php @@ -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