moonlandsoft / yii2-phpexcel

Exporting PHP to Excel
MIT License
135 stars 89 forks source link

Fix for getFileName() method when file name does not have an extension. #23

Open gatis-ozols opened 6 years ago

gatis-ozols commented 6 years ago

Currently getFileName() method always ads ".xls" extension if $fileName does not have an extension, which is wrong because extension depends on the $format member. And the default format is 'Excel2007'...