fixing bug reported by Pascal Thuet (typo)

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@138334 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xavier Noguer Gallego 2003-08-20 11:06:41 +00:00
parent 26e4a3ed98
commit 3d4f827806
1 changed files with 2 additions and 2 deletions

View File

@ -1148,8 +1148,8 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
}
// If it's a number (check that it's not a sheet name or range)
elseif (is_numeric($token) and
(!is_numeric($token.$this->_lookahead)) or ($this->_lookahead == '')) and
($this->_lookahead != '!') and (($this->_lookahead != ':')))
(!is_numeric($token.$this->_lookahead) or ($this->_lookahead == '')) and
($this->_lookahead != '!') and ($this->_lookahead != ':'))
{
return $token;
}