summaryrefslogtreecommitdiff
path: root/vendor/tecnickcom/tcpdf/include
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2020-02-23 19:27:07 +0000
committerGreg Roach <fisharebest@gmail.com>2020-02-23 19:27:07 +0000
commit1c7feab282e8e647fe2be7b913b8b267ddc98b32 (patch)
tree2bd7a71b4cbec8740ce9a0c350d3b3bf407f829c /vendor/tecnickcom/tcpdf/include
parent8c627a69bcf55b7e1db9014c067e8dfad205fb47 (diff)
downloadwebtrees-1c7feab282e8e647fe2be7b913b8b267ddc98b32.tar.gz
webtrees-1c7feab282e8e647fe2be7b913b8b267ddc98b32.tar.bz2
webtrees-1c7feab282e8e647fe2be7b913b8b267ddc98b32.zip
Update vendor dependencies
Diffstat (limited to 'vendor/tecnickcom/tcpdf/include')
-rw-r--r--vendor/tecnickcom/tcpdf/include/barcodes/pdf417.php6
-rw-r--r--vendor/tecnickcom/tcpdf/include/tcpdf_static.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/vendor/tecnickcom/tcpdf/include/barcodes/pdf417.php b/vendor/tecnickcom/tcpdf/include/barcodes/pdf417.php
index 3b1774eaae..9a58a21f67 100644
--- a/vendor/tecnickcom/tcpdf/include/barcodes/pdf417.php
+++ b/vendor/tecnickcom/tcpdf/include/barcodes/pdf417.php
@@ -878,7 +878,7 @@ class PDF417 {
$txtarr = array(); // array of characters and sub-mode switching characters
$codelen = strlen($code);
for ($i = 0; $i < $codelen; ++$i) {
- $chval = ord($code{$i});
+ $chval = ord($code[$i]);
if (($k = array_search($chval, $this->textsubmodes[$submode])) !== false) {
// we are on the same sub-mode
$txtarr[] = $k;
@@ -888,7 +888,7 @@ class PDF417 {
// search new sub-mode
if (($s != $submode) AND (($k = array_search($chval, $this->textsubmodes[$s])) !== false)) {
// $s is the new submode
- if (((($i + 1) == $codelen) OR ((($i + 1) < $codelen) AND (array_search(ord($code{($i + 1)}), $this->textsubmodes[$submode]) !== false))) AND (($s == 3) OR (($s == 0) AND ($submode == 1)))) {
+ if (((($i + 1) == $codelen) OR ((($i + 1) < $codelen) AND (array_search(ord($code[($i + 1)]), $this->textsubmodes[$submode]) !== false))) AND (($s == 3) OR (($s == 0) AND ($submode == 1)))) {
// shift (temporary change only for this char)
if ($s == 3) {
// shift to puntuaction
@@ -952,7 +952,7 @@ class PDF417 {
$cw = array_merge($cw, $cw6);
} else {
for ($i = 0; $i < $sublen; ++$i) {
- $cw[] = ord($code{$i});
+ $cw[] = ord($code[$i]);
}
}
$code = $rest;
diff --git a/vendor/tecnickcom/tcpdf/include/tcpdf_static.php b/vendor/tecnickcom/tcpdf/include/tcpdf_static.php
index 8e96869535..0139dbe9be 100644
--- a/vendor/tecnickcom/tcpdf/include/tcpdf_static.php
+++ b/vendor/tecnickcom/tcpdf/include/tcpdf_static.php
@@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version.
* @private static
*/
- private static $tcpdf_version = '6.3.4';
+ private static $tcpdf_version = '6.3.5';
/**
* String alias for total number of pages.