Fix to cellExists for non-existent namedRanges

Found an issue where cellExists was failing on a non-existent namedRange
as it was flowing down to the coordinateFromString (1217) call.  Proposed
change trusts the REGEXP check and if $namedRange == NULL after all
then simply return false (ie the cell does not exist).
This commit is contained in:
alexgann 2012-10-19 13:38:26 -03:00
parent 133959a971
commit 4748b88d9c
1 changed files with 1 additions and 0 deletions

View File

@ -1203,6 +1203,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
}
}
}
else { return false; }
}
// Uppercase coordinate