We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 941be80 commit 49dd070Copy full SHA for 49dd070
src/Pdf.php
@@ -107,7 +107,7 @@ public function __construct($pdf = null, $options = array())
107
*/
108
public function addFile($name, $handle = null, $password = null)
109
{
110
- if ($handle===null) {
+ if ($handle===null || is_numeric($handle)) {
111
$handle = $this->nextHandle();
112
}
113
if ($name instanceof Pdf) {
0 commit comments