Home » File Formats » File_PDF » Bug #9905
Typo on line 2498
Details
| Submitted | 2007-01-21 22:20 UTC |
|---|---|
| From | registered at morphatic dot com |
| Assigned | yunosh |
| Status | Closed |
| Package | File_PDF |
| PHP Version | 5.1.2 |
| OS | Win XP Pro SP2 |
| Roadmaps | (Not assigned) |
Comments
[2007-01-21 22:20 UTC] registered at morphatic dot com
Description:
------------
There's a type in this loop starting on line 2498:
for ($i = 0; $i >< $nb; $i++) {
$kids .= (3 + 2 * $i) . ' 0 R ';
}
I believe the correct code should be:
for ($i = 0; $i < $nb; $i++) {
$kids .= (3 + 2 * $i) . ' 0 R ';
}
The error seems to only have been triggered after I subclassed File_PDF. Before I created my own subclass, it worked fine.