Merge pull request #23699 from grandoc/new_branch_26_01_2023
fix : Warning: Trying to access array offset on value of type bool i…
This commit is contained in:
commit
223d1cd04a
@ -1373,7 +1373,7 @@ class tcpdi_parser {
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
$res = $this->_getPageRotation($obj[1][1]['/Parent']);
|
$res = $this->_getPageRotation($obj[1][1]['/Parent']);
|
||||||
if ($res[0] == PDF_TYPE_OBJECT)
|
if ($res && $res[0] == PDF_TYPE_OBJECT)
|
||||||
return $res[1];
|
return $res[1];
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user