From 146e4337cac1f27eb9ee1328e2e2091e5cd1fc4f Mon Sep 17 00:00:00 2001 From: Nicola Asuni Date: Tue, 6 Nov 2012 19:37:08 +0000 Subject: [PATCH] 5.9.197 (2012-11-06) - Bug item #756 "TCPDF 5.9.196 shows line on top of all PDFs" was fixed. --- CHANGELOG.TXT | 3 +++ README.TXT | 4 ++-- composer.json | 2 +- tcpdf.php | 12 ++++++------ 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 304c674..aeb58f5 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +5.9.197 (2012-11-06) + - Bug item #756 "TCPDF 5.9.196 shows line on top of all PDFs" was fixed. + 5.9.196 (2012-11-02) - Several methods were improved to avoid output when the context is out of page. - Bug item #755 "remove cached files before unsetting" was fixed. diff --git a/README.TXT b/README.TXT index 9864c09..88f5496 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.196 -Release date: 2012-11-02 +Version: 5.9.197 +Release date: 2012-11-06 Author: Nicola Asuni Copyright (c) 2002-2012: diff --git a/composer.json b/composer.json index 387c51d..d777c38 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tecnick.com/tcpdf", - "version": "5.9.196", + "version": "5.9.197", "homepage": "http://www.tcpdf.org/", "type": "library", "description": "TCPDF is a PHP class for generating PDF documents.", diff --git a/tcpdf.php b/tcpdf.php index f9d5b65..45c032a 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 5.9.196 + * @version 5.9.197 */ // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. @@ -151,7 +151,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.196 + * @version 5.9.197 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -162,7 +162,7 @@ class TCPDF { * Current TCPDF version. * @private */ - private $tcpdf_version = '5.9.196'; + private $tcpdf_version = '5.9.197'; // Protected properties @@ -4405,7 +4405,7 @@ class TCPDF { * @since 4.0.012 (2008-07-24) */ protected function setHeader() { - if (!$this->print_header AND ($this->state != 2)) { + if (!$this->print_header OR ($this->state != 2)) { return; } $this->InHeader = true;