mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Bump TCPDF from 6.10.1 to 6.11.2
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
// Begin : 2009-04-07
|
||||
// Last Update : 2014-05-20
|
||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||
// License : GNU-LGPL v3 (https://www.gnu.org/copyleft/lesser.html)
|
||||
// -------------------------------------------------------------------
|
||||
// Copyright (C) 2009-2014 Nicola Asuni - Tecnick.com LTD
|
||||
// Copyright (C) 2009-2026 Nicola Asuni - Tecnick.com LTD
|
||||
//
|
||||
// This file is part of TCPDF software library.
|
||||
//
|
||||
@@ -22,7 +22,7 @@
|
||||
// See the GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
|
||||
// along with TCPDF. If not, see <https://www.gnu.org/licenses/>.
|
||||
//
|
||||
// See LICENSE.TXT file for more information.
|
||||
// -------------------------------------------------------------------
|
||||
@@ -238,7 +238,9 @@ class TCPDF2DBarcode {
|
||||
ob_start();
|
||||
imagepng($png);
|
||||
$imagedata = ob_get_clean();
|
||||
imagedestroy($png);
|
||||
if (PHP_VERSION_ID < 80000) {
|
||||
imagedestroy($png);
|
||||
}
|
||||
return $imagedata;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user