mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 10:56:31 +00:00
Misc: Mitigate PHP 8.1 warnings.
This commit is contained in:
@@ -1211,7 +1211,7 @@ function number_pad($number,$n) {
|
||||
else { //rgb(a)
|
||||
$rgb = implode(',', $color);
|
||||
if (!empty($alpha)) { $rgb .= ','.$alpha; $a = 'a'; }
|
||||
if ($wrapper) { $rgb = 'rgb'.$a.'('.$rgb.')'; }
|
||||
if ($wrapper) { $rgb = 'rgb'.($a ?? '').'('.$rgb.')'; }
|
||||
return $rgb;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user