mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix Zip generation of ODT with PHPZip
This commit is contained in:
parent
956a039082
commit
82fdbc406a
|
|
@ -740,7 +740,7 @@ IMG;
|
|||
// Add the image to the Manifest (which maintains a list of images, necessary to avoid "Corrupt ODT file. Repair?" when opening the file with LibreOffice)
|
||||
$this->addImageToManifest($imageValue);
|
||||
}
|
||||
if (! $this->file->addFromString('./META-INF/manifest.xml', $this->manifestXml)) {
|
||||
if (! $this->file->addFromString('META-INF/manifest.xml', $this->manifestXml)) {
|
||||
throw new OdfException('Error during file export: manifest.xml');
|
||||
}
|
||||
$this->file->close();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user