more PHP 8 changes
This commit is contained in:
parent
c643d2702c
commit
29eca5f71f
@ -2955,7 +2955,7 @@ class PHPExcel_Calculation {
|
||||
// echo 'Element is a Variable, Constant, String, Number or Boolean<br />';
|
||||
// If the last entry on the stack was a : operator, then we may have a row or column range reference
|
||||
$testPrevOp = $stack->last(1);
|
||||
if ($testPrevOp['value'] == ':') {
|
||||
if (isset($testPrevOp['value']) && $testPrevOp['value'] == ':') {
|
||||
$startRowColRef = $output[count($output)-1]['value'];
|
||||
$rangeWS1 = '';
|
||||
if (strpos('!',$startRowColRef) !== FALSE) {
|
||||
|
@ -889,9 +889,9 @@ class PHPExcel_ReferenceHelper
|
||||
list($newColumn, $newRow) = PHPExcel_Cell::coordinateFromString( $pCellReference );
|
||||
|
||||
// Verify which parts should be updated
|
||||
$updateColumn = (($newColumn{0} != '$') && ($beforeColumn{0} != '$') &&
|
||||
$updateColumn = (($newColumn[0] != '$') && ($beforeColumn[0] != '$') &&
|
||||
PHPExcel_Cell::columnIndexFromString($newColumn) >= PHPExcel_Cell::columnIndexFromString($beforeColumn));
|
||||
$updateRow = (($newRow{0} != '$') && ($beforeRow{0} != '$') &&
|
||||
$updateRow = (($newRow[0] != '$') && ($beforeRow[0] != '$') &&
|
||||
$newRow >= $beforeRow);
|
||||
|
||||
// Create new column reference
|
||||
|
Loading…
Reference in New Issue
Block a user