Apply patch for bug #2261: Excel 2002 crashes when use write() with @ as first value of the text in behalf of progi1984
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@286925 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8b65ef5c61
commit
bcb70905c5
|
|
@ -1171,9 +1171,6 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
|
||||||
} elseif (preg_match("/^=/", $token)) {
|
} elseif (preg_match("/^=/", $token)) {
|
||||||
// Match formula
|
// Match formula
|
||||||
return $this->writeFormula($row, $col, $token, $format);
|
return $this->writeFormula($row, $col, $token, $format);
|
||||||
} elseif (preg_match("/^@/", $token)) {
|
|
||||||
// Match formula
|
|
||||||
return $this->writeFormula($row, $col, $token, $format);
|
|
||||||
} elseif ($token == '') {
|
} elseif ($token == '') {
|
||||||
// Match blank
|
// Match blank
|
||||||
return $this->writeBlank($row, $col, $format);
|
return $this->writeBlank($row, $col, $format);
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</developer>
|
</developer>
|
||||||
|
|
||||||
<date>2009-08-06</date>
|
<date>2009-08-08</date>
|
||||||
|
|
||||||
<version>
|
<version>
|
||||||
<release>0.9.2</release><!-- last release was 0.9.1 -->
|
<release>0.9.2</release><!-- last release was 0.9.1 -->
|
||||||
|
|
@ -41,7 +41,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
|
||||||
|
|
||||||
<notes>
|
<notes>
|
||||||
- Fix Bug #10399: Fatal error when closing workbook with no worksheets.
|
- Fix Bug #10399: Fatal error when closing workbook with no worksheets.
|
||||||
- Fix Bug #2405: Text concat operator & truncate formula [progi1984]
|
- Fix Bug #2405: Text concat operator & truncate formula [progi1984]
|
||||||
|
- Fix Bug #2261: Excel 2002 crashes when use write() with @ as
|
||||||
|
first value of the text [progi1984]
|
||||||
</notes>
|
</notes>
|
||||||
|
|
||||||
<contents>
|
<contents>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue