mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-29 16:56:03 +03:00
Bugfix: Work item 16956 - External links in Excel2010 files cause Fatal error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83265 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
68a0930f67
commit
87c735a212
@ -317,7 +317,7 @@ class PHPExcel_Cell
|
|||||||
public function setCalculatedValue($pValue = null)
|
public function setCalculatedValue($pValue = null)
|
||||||
{
|
{
|
||||||
if (!is_null($pValue)) {
|
if (!is_null($pValue)) {
|
||||||
$this->_calculatedValue = $pValue;
|
$this->_calculatedValue = (is_numeric($pValue)) ? (float) $pValue : $pValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->notifyCacheController();
|
return $this->notifyCacheController();
|
||||||
|
Loading…
Reference in New Issue
Block a user