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:
Xavier Noguer Gallego 2003-04-24 23:42:05 +00:00
parent 6da7a2afdc
commit ed0decdcf3
1 changed files with 2 additions and 2 deletions

View File

@ -975,7 +975,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
while($i < strlen($this->_formula))
{
$token .= $this->_formula{$i};
if($this->_match($token) != false)
if($this->_match($token) != '')
{
if($i < strlen($this->_formula) - 1) {
$this->_lookahead = $this->_formula{$i+1};
@ -1101,7 +1101,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
{
return($token);
}
return false;
return '';
}
}