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 7a27012 commit deca36aCopy full SHA for deca36a
1 file changed
tcpdf.php
@@ -7884,6 +7884,9 @@ public function Output($name='doc.pdf', $dest='I') {
7884
* @since 4.5.016 (2009-02-24)
7885
*/
7886
public function _destroy($destroyall=false, $preserve_objcopy=false) {
7887
+ if ($this->file_id === null) {
7888
+ return;
7889
+ }
7890
if (isset(self::$cleaned_ids[$this->file_id])) {
7891
$destroyall = false;
7892
}
0 commit comments