From 3d4f8278069a07075bdad6cc9b3d6b9f5340fc54 Mon Sep 17 00:00:00 2001 From: Xavier Noguer Gallego Date: Wed, 20 Aug 2003 11:06:41 +0000 Subject: [PATCH] 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 --- Writer/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Writer/Parser.php b/Writer/Parser.php index d13e4d0..6ea75d6 100644 --- a/Writer/Parser.php +++ b/Writer/Parser.php @@ -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; }