1
0
Fork 0

[frio] Accept 0 as a valid content background transparency in frio/style.php

This commit is contained in:
Hypolite Petovan 2022-07-13 17:51:07 -04:00
parent 5d1ed5e71f
commit c50b3d671e

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