Fixing style errors.

This commit is contained in:
stickler-ci 2020-12-04 13:47:55 +00:00
parent 9c191cda43
commit 6a2d842d3e

View File

@ -119,12 +119,12 @@ class ImportXlsx extends ModeleImports
//if ($this->id == 'excel2007new')
{
if (!class_exists('ZipArchive')) // For Excel2007
if (!class_exists('ZipArchive')) // For Excel2007
{
$langs->load("errors");
$this->error = $langs->trans('ErrorPHPNeedModule', 'zip');
return -1;
}
$langs->load("errors");
$this->error = $langs->trans('ErrorPHPNeedModule', 'zip');
return -1;
}
}
$this->label_lib = 'PhpSpreadSheet';
$this->version_lib = '1.8.0';