mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-12 11:06:28 +00:00
Fix default colour validation for supervisor
This commit is contained in:
@@ -62,7 +62,7 @@ class Color extends Supervisor
|
||||
|
||||
// Initialise values
|
||||
if (!$isConditional) {
|
||||
$this->argb = $this->setARGB($colorValue);
|
||||
$this->argb = $this->validateARGB($colorValue) ? $colorValue : self::COLOR_BLACK;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user