Permalink
Browse files

Changed createPHPExcelObject to pass filename as a string to fix Cont…

…extErrorException
  • Loading branch information...
1 parent 232c46c commit 2a11a4c8d905bd9df4571676c80e7c349b457d7e @s4brown s4brown committed Dec 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Factory.php
View
@@ -32,7 +32,7 @@ public function createPHPExcelObject($filename = null)
return $phpExcelObject;
}
- return call_user_func(array($this->phpExcelIO, 'load'), array($filename));
+ return call_user_func(array($this->phpExcelIO, 'load'), $filename);
}
/**

0 comments on commit 2a11a4c

Please sign in to comment.