a
This commit is contained in:
parent
418fbbc7a8
commit
f1c9f504e3
|
|
@ -889,9 +889,9 @@ class PHPExcel_ReferenceHelper
|
||||||
list($newColumn, $newRow) = PHPExcel_Cell::coordinateFromString( $pCellReference );
|
list($newColumn, $newRow) = PHPExcel_Cell::coordinateFromString( $pCellReference );
|
||||||
|
|
||||||
// Verify which parts should be updated
|
// Verify which parts should be updated
|
||||||
$updateColumn = (($newColumn{0} != '$') && ($beforeColumn{0} != '$') &&
|
$updateColumn = (($newColumn[0] != '$') && ($beforeColumn[0] != '$') &&
|
||||||
PHPExcel_Cell::columnIndexFromString($newColumn) >= PHPExcel_Cell::columnIndexFromString($beforeColumn));
|
PHPExcel_Cell::columnIndexFromString($newColumn) >= PHPExcel_Cell::columnIndexFromString($beforeColumn));
|
||||||
$updateRow = (($newRow{0} != '$') && ($beforeRow{0} != '$') &&
|
$updateRow = (($newRow[0] != '$') && ($beforeRow[0] != '$') &&
|
||||||
$newRow >= $beforeRow);
|
$newRow >= $beforeRow);
|
||||||
|
|
||||||
// Create new column reference
|
// Create new column reference
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user