[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