PHPOffice / PHPExcel

ARCHIVED
Other
11.46k stars 4.2k forks source link

Fix trim in pclzip.lib #1375

Closed dahousecat closed 6 years ago

dahousecat commented 6 years ago

This fixes the PHP warning:

Notice: A non well formed numeric value encountered in PclZip->privOptionDefaultThreshold() (line 1737 of sites/all/libraries/PHPExcel/Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php).

That is produced when this option is applied: \PHPExcel_Settings::setZipClass(\PHPExcel_Settings::PCLZIP);

PowerKiKi commented 6 years ago

Thank you for your contribution, however PHPExcel development for next version has moved under its new name PhpSpreadsheet. So please consider heading over to PhpSpreadsheet to contribute patches and features. Pull Requests will no longer be accepted for PHPExcel.