mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-20 22:19:39 +01:00
Merge pull request #183 from bolduz/bolduz-tcpdf-fix-176
Fix #176: syntax error on line 12387 (invalid usage of array index)
This commit is contained in:
commit
6ca08645e2
@ -12384,7 +12384,8 @@ class TCPDF {
|
||||
$x = $this->w;
|
||||
}
|
||||
$fixed = false;
|
||||
if ((string)$page && (((string)$page)[0] == '*')) {
|
||||
$pageAsString = (string) $page;
|
||||
if ($pageAsString && $pageAsString[0] == '*') {
|
||||
$page = intval(substr($page, 1));
|
||||
// this page number will not be changed when moving/add/deleting pages
|
||||
$fixed = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user