Fix to new PCLZip wrapper locateName() method

This commit is contained in:
Mark Baker 2013-11-17 14:15:22 +00:00
parent 51a1661c79
commit 7fb98dbcd5

View File

@ -118,7 +118,7 @@ class PHPExcel_Shared_ZipArchive
* @param string $fileName Filename for the file in zip archive * @param string $fileName Filename for the file in zip archive
* @return boolean * @return boolean
*/ */
public function locateName($name) public function locateName($fileName)
{ {
$list = $this->_zip->listContent(); $list = $this->_zip->listContent();
$listCount = count($list); $listCount = count($list);