From: Hypolite Petovan Date: Wed, 13 Jul 2022 21:51:07 +0000 (-0400) Subject: [frio] Accept 0 as a valid content background transparency in frio/style.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c50b3d671e1c5dd36a8dcc82b899098a07499b94;p=friendica.git [frio] Accept 0 as a valid content background transparency in frio/style.php --- 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