diff --git a/Writer/Parser.php b/Writer/Parser.php index e5fd0e7..2d7eef1 100644 --- a/Writer/Parser.php +++ b/Writer/Parser.php @@ -1118,10 +1118,10 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR $this->_formula = $formula; $this->_lookahead = $formula{1}; $this->_advance(); - $this->_parse_tree = $this->_condition(); //$this->_expression(); - if($this->isError($this->_parse_tree)) { - return($this->_parse_tree); - } + $this->_parse_tree = $this->_condition(); + if ($this->isError($this->_parse_tree)) { + return $this->_parse_tree; + } } /**