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;
|
||||
} else {
|
||||
$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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user