Bump tecnickcom/tcpdf dependency to support php 8 (#12816)
Also fix undefined variable error
This commit is contained in:
parent
61c89794e4
commit
49ec6aabd6
|
@ -56,7 +56,7 @@
|
||||||
"predis/predis": "^1.1",
|
"predis/predis": "^1.1",
|
||||||
"rmccue/requests": "^1.7",
|
"rmccue/requests": "^1.7",
|
||||||
"symfony/yaml": "^4.0",
|
"symfony/yaml": "^4.0",
|
||||||
"tecnickcom/tcpdf": "~6.2.0",
|
"tecnickcom/tcpdf": "^6.4",
|
||||||
"tightenco/ziggy": "^0.9",
|
"tightenco/ziggy": "^0.9",
|
||||||
"wpb/string-blade-compiler": "^6.0"
|
"wpb/string-blade-compiler": "^6.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "85d20b0e5d6205452dac25d0d5db067b",
|
"content-hash": "dae39e5a41421453723b043a8a321e35",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "amenadiel/jpgraph",
|
"name": "amenadiel/jpgraph",
|
||||||
|
@ -6469,16 +6469,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tecnickcom/tcpdf",
|
"name": "tecnickcom/tcpdf",
|
||||||
"version": "6.2.26",
|
"version": "6.4.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tecnickcom/TCPDF.git",
|
"url": "https://github.com/tecnickcom/TCPDF.git",
|
||||||
"reference": "367241059ca166e3a76490f4448c284e0a161f15"
|
"reference": "5ba838befdb37ef06a16d9f716f35eb03cb1b329"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/367241059ca166e3a76490f4448c284e0a161f15",
|
"url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/5ba838befdb37ef06a16d9f716f35eb03cb1b329",
|
||||||
"reference": "367241059ca166e3a76490f4448c284e0a161f15",
|
"reference": "5ba838befdb37ef06a16d9f716f35eb03cb1b329",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -6507,7 +6507,7 @@
|
||||||
},
|
},
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
"license": [
|
"license": [
|
||||||
"LGPL-3.0"
|
"LGPL-3.0-only"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
@ -6528,9 +6528,16 @@
|
||||||
"qrcode"
|
"qrcode"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/tecnickcom/TCPDF/tree/master"
|
"issues": "https://github.com/tecnickcom/TCPDF/issues",
|
||||||
|
"source": "https://github.com/tecnickcom/TCPDF/tree/6.4.1"
|
||||||
},
|
},
|
||||||
"time": "2018-10-16T17:24:05+00:00"
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project",
|
||||||
|
"type": "custom"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2021-03-27T16:00:33+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tightenco/ziggy",
|
"name": "tightenco/ziggy",
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
$pdf->AddPage('L');
|
$pdf->AddPage('L');
|
||||||
$where = '1';
|
$where = '1';
|
||||||
|
|
||||||
|
$param = [];
|
||||||
|
$data = [];
|
||||||
|
|
||||||
if (is_numeric($_GET['device_id'])) {
|
if (is_numeric($_GET['device_id'])) {
|
||||||
$where .= ' AND E.device_id = ?';
|
$where .= ' AND E.device_id = ?';
|
||||||
$param[] = $_GET['device_id'];
|
$param[] = $_GET['device_id'];
|
||||||
|
|
Loading…
Reference in New Issue