remove alert if the tmp dir cannot be removed

This commit is contained in:
Dany De Bontridder 2010-10-05 18:30:39 +00:00
parent 8bf6d41a75
commit 8a87a4ac4c

View file

@ -132,7 +132,7 @@ class Document
$this->SaveGenerated($dirname.DIRECTORY_SEPARATOR.$file_to_parse);
// Invoice
$ret='<A class="mtitle" HREF="show_document.php?d_id='.$this->d_id.'&'.dossier::get().'">Document g&eacute;n&eacute;r&eacute;</A>';
rmdir($dirname);
@rmdir($dirname);
return $ret;
}