Fixing style errors.
This commit is contained in:
parent
9c191cda43
commit
6a2d842d3e
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user