fixing glitch with zeros (this time for real)
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@124524 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6da7a2afdc
commit
ed0decdcf3
|
|
@ -975,7 +975,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||||
while($i < strlen($this->_formula))
|
while($i < strlen($this->_formula))
|
||||||
{
|
{
|
||||||
$token .= $this->_formula{$i};
|
$token .= $this->_formula{$i};
|
||||||
if($this->_match($token) != false)
|
if($this->_match($token) != '')
|
||||||
{
|
{
|
||||||
if($i < strlen($this->_formula) - 1) {
|
if($i < strlen($this->_formula) - 1) {
|
||||||
$this->_lookahead = $this->_formula{$i+1};
|
$this->_lookahead = $this->_formula{$i+1};
|
||||||
|
|
@ -1101,7 +1101,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||||
{
|
{
|
||||||
return($token);
|
return($token);
|
||||||
}
|
}
|
||||||
return false;
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue