Skip to content

Commit 8fb02a5

Browse files
committed
Merge branch 'imglfix'
2 parents 05e42a9 + 5bb1411 commit 8fb02a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcpdf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19154,7 +19154,7 @@ protected function openHTMLTagHandler($dom, $key, $cell) {
1915419154
$imglink = '';
1915519155
if (isset($this->HREF['url']) AND !TCPDF_STATIC::empty_string($this->HREF['url'])) {
1915619156
$imglink = $this->HREF['url'];
19157-
if ($imglink[0] == '#' AND is_numeric($imglink[1])) {
19157+
if ($imglink[0] == '#' AND isset($imglink[1]) AND is_numeric($imglink[1])) {
1915819158
// convert url to internal link
1915919159
$lnkdata = explode(',', $imglink);
1916019160
if (isset($lnkdata[0])) {

0 commit comments

Comments
 (0)