Minor bugfix to calculation engine formula validation (unbalanced braces)
This commit is contained in:
parent
e46513043e
commit
7b8533a504
|
@ -2977,7 +2977,7 @@ class PHPExcel_Calculation {
|
|||
}
|
||||
|
||||
while (($op = $stack->pop()) !== NULL) { // pop everything off the stack and push onto output
|
||||
if ((is_array($opCharacter) && $opCharacter['value'] == '(') || ($opCharacter === '('))
|
||||
if ((is_array($op) && $op['value'] == '(') || ($op === '('))
|
||||
return $this->_raiseFormulaError("Formula Error: Expecting ')'"); // if there are any opening braces on the stack, then braces were unbalanced
|
||||
$output[] = $op;
|
||||
}
|
||||
|
|
|
@ -72,6 +72,9 @@ The following methods will be changed in version 1.7.9
|
|||
|
||||
|
||||
Fixed in develop branch:
|
||||
|
||||
|
||||
2012-10-12 (v1.7.8):
|
||||
- Special: (kkamkou) Phar builder script to add phar file as a distribution option
|
||||
- Feature: (MBaker) Refactor PDF Writer to allow use with a choice of PDF Rendering library
|
||||
rather than restricting to tcPDF
|
||||
|
|
Loading…
Reference in New Issue