Permalink
Browse files

Fixing issue with XlsReader and xlsx test file

  • Loading branch information...
1 parent 3813a51 commit 9a2dc768bd546618ba1e42bbc7d28e13e79b95db @IamSmith IamSmith committed Mar 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Extension/XlsReader.php
  2. BIN Test/Files/test.xlsx
View
@@ -28,7 +28,7 @@ class XlsReader implements IReader, Iterator {
public function __construct($pathToFile, $options) {
$this->file = $pathToFile;
- if ($this->reader == null || !is_a($this->reader, "XlsReader") {
+ if (($this->reader == null) || (!is_a($this->reader, "PHPExcel_Reader_IReader"))) {
$this->reader = new PHPExcel_Reader_Excel5();
}
$this->filter = new RowByRowFilter();
View
Binary file not shown.

0 comments on commit 9a2dc76

Please sign in to comment.