fix Undefined property: GLPIPDF::$imagekeys

This commit is contained in:
Remi Collet 2019-09-19 13:14:28 +02:00
parent aff6e6a99a
commit b86d1ea34a

View File

@ -7796,8 +7796,10 @@ class TCPDF {
}
closedir($handle);
}
foreach($this->imagekeys as $file) {
unlink($file);
if (isset($this->imagekeys)) {
foreach($this->imagekeys as $file) {
unlink($file);
}
}
}
$preserve = array(