mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
bugfix
This commit is contained in:
parent
4c0e0ca179
commit
91fcde3ce8
|
|
@ -634,7 +634,7 @@ class TCPDF_PARSER {
|
|||
if (\preg_match('/^([\r]?[\n])/isU', \substr($this->pdfdata, $offset), $matches) == 1) {
|
||||
$offset += \strlen($matches[0]);
|
||||
if (\preg_match('/(endstream)[\x09\x0a\x0c\x0d\x20]/isU', \substr($this->pdfdata, $offset), $matches, \PREG_OFFSET_CAPTURE) == 1) {
|
||||
$objval = \substr($this->pdfdata, $offset, $matches[0][1]);
|
||||
$objval = \substr($this->pdfdata, $offset, (int) $matches[0][1]);
|
||||
$offset += $matches[1][1];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user