]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Accept 0 as a valid content background transparency in frio/style.php
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 13 Jul 2022 21:51:07 +0000 (17:51 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Wed, 13 Jul 2022 21:51:45 +0000 (17:51 -0400)
view/theme/frio/style.php

index 81d750d0a12b11a0525b1da5847c3cab8d920e54..58bee7eaee1efa3ac02643b110f0e9296c3cdfb5 100644 (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