Bugfix: Work item 18963 - getSheetNames() fails on numeric (floating point style) names with trailing zeroes
This commit is contained in:
parent
ef492043cb
commit
7854955cff
|
@ -310,7 +310,7 @@ class PHPExcel
|
||||||
{
|
{
|
||||||
$worksheetCount = count($this->_workSheetCollection);
|
$worksheetCount = count($this->_workSheetCollection);
|
||||||
for ($i = 0; $i < $worksheetCount; ++$i) {
|
for ($i = 0; $i < $worksheetCount; ++$i) {
|
||||||
if ($this->_workSheetCollection[$i]->getTitle() == $pName) {
|
if ($this->_workSheetCollection[$i]->getTitle() === $pName) {
|
||||||
return $this->_workSheetCollection[$i];
|
return $this->_workSheetCollection[$i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,7 @@ Fixed in develop branch:
|
||||||
- Bugfix: (AndreKR) Work item GH-66 - Wrong check for maximum number of rows in Excel5 Writer
|
- Bugfix: (AndreKR) Work item GH-66 - Wrong check for maximum number of rows in Excel5 Writer
|
||||||
- Bugfix: (MBaker) Work item GH-67 - Cache directory for DiscISAM cache storage cannot be set
|
- Bugfix: (MBaker) Work item GH-67 - Cache directory for DiscISAM cache storage cannot be set
|
||||||
- Bugfix: (MBaker) Work item 17976 - Fix to Excel2007 Reader for hyperlinks with an anchor fragment (following a #), otherwise they were treated as sheet references
|
- Bugfix: (MBaker) Work item 17976 - Fix to Excel2007 Reader for hyperlinks with an anchor fragment (following a #), otherwise they were treated as sheet references
|
||||||
|
- Bugfix: (MBaker) Work item 18963 - getSheetNames() fails on numeric (floating point style) names with trailing zeroes
|
||||||
- General: (kea) Work item GH-69 - Improved AdvancedValueBinder for currency
|
- General: (kea) Work item GH-69 - Improved AdvancedValueBinder for currency
|
||||||
- General: (MBaker) Work items 17936 and 17840 - Fix for environments where there is no access to /tmp but to upload_tmp_dir
|
- General: (MBaker) Work items 17936 and 17840 - Fix for environments where there is no access to /tmp but to upload_tmp_dir
|
||||||
Provided an option to set the sys_get_temp_dir() call to use the upload_tmp_dir; though by default the standard temp directory will still be used
|
Provided an option to set the sys_get_temp_dir() call to use the upload_tmp_dir; though by default the standard temp directory will still be used
|
||||||
|
|
|
@ -73,7 +73,7 @@ class StringTest extends PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
public function testSetCurrencyCode()
|
public function testSetCurrencyCode()
|
||||||
{
|
{
|
||||||
$expectedResult = '£';
|
$expectedResult = '£';
|
||||||
$result = call_user_func(array('PHPExcel_Shared_String','setCurrencyCode'),$expectedResult);
|
$result = call_user_func(array('PHPExcel_Shared_String','setCurrencyCode'),$expectedResult);
|
||||||
|
|
||||||
$result = call_user_func(array('PHPExcel_Shared_String','getCurrencyCode'));
|
$result = call_user_func(array('PHPExcel_Shared_String','getCurrencyCode'));
|
||||||
|
|
Loading…
Reference in New Issue