Merge pull request #105 from fschaeffer/patch-1

[BUGFIX] fix SpotColor handling in HTML
This commit is contained in:
Nicola Asuni 2019-01-16 11:51:36 +00:00 committed by GitHub
commit 756908329d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,7 +358,7 @@ class TCPDF_COLORS {
$color_code = self::$webcolor[$color];
} else {
// spot color
$returncolor = self::getSpotColor($color, $spotc);
$returncolor = self::getSpotColor($hcolor, $spotc);
if ($returncolor === false) {
$returncolor = $defcol;
}