From 7a48cc3bbac7a7f3510848bd21c057a314870b2d Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 20 Oct 2011 21:52:49 +0100 Subject: [PATCH] 5.9.132 --- CHANGELOG.TXT | 3 +++ README.TXT | 4 ++-- tcpdf.php | 13 +++++++------ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index c71edf8..70d3146 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +5.9.132 (2011-10-20) + - Bug item #3426167 "bug in function convertHTMLColorToDec()" was fixed. + 5.9.131 (2011-10-13) - An error message was added to ImagePngAlpha() method. diff --git a/README.TXT b/README.TXT index aa83403..012fb69 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.9.131 -Release date: 2011-10-13 +Version: 5.9.132 +Release date: 2011-10-20 Author: Nicola Asuni Copyright (c) 2002-2011: diff --git a/tcpdf.php b/tcpdf.php index 242301d..8929a8d 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 5.9.131 + * @version 5.9.132 */ // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. @@ -149,7 +149,7 @@ require_once(dirname(__FILE__).'/config/tcpdf_config.php'); * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
* @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 5.9.131 + * @version 5.9.132 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -160,7 +160,7 @@ class TCPDF { * Current TCPDF version. * @private */ - private $tcpdf_version = '5.9.131'; + private $tcpdf_version = '5.9.132'; // Protected properties @@ -13476,10 +13476,11 @@ class TCPDF { $color_code = $this->webcolor[$color]; } else { // spot color - $returncolor = $this->getSpotColor($name); + $returncolor = $this->getSpotColor($color); if ($returncolor === false) { $returncolor = $defcol; } + return $returncolor; } } else { $color_code = substr($color, 1);