Fix error in handling cell reference when operand is a 1-d array
This commit is contained in:
parent
83ff74b97e
commit
782644684b
|
|
@ -4368,6 +4368,12 @@ class Calculation
|
|||
if (($operandData['reference'] === null) && (is_array($operand))) {
|
||||
$rKeys = array_keys($operand);
|
||||
$rowKey = array_shift($rKeys);
|
||||
if (is_array($operand[$rowKey]) === false) {
|
||||
$operandData['value'] = $operand[$rowKey];
|
||||
|
||||
return $operand[$rowKey];
|
||||
}
|
||||
|
||||
$cKeys = array_keys(array_keys($operand[$rowKey]));
|
||||
$colKey = array_shift($cKeys);
|
||||
if (ctype_upper("$colKey")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue