Update XLSX.php
This commit is contained in:
parent
44e8b43f95
commit
a601b17d9d
@ -242,7 +242,10 @@ class XLSX extends AbstractReader
|
||||
// all other cell types should have a "v" tag containing the value.
|
||||
// if not, the returned value should be empty string.
|
||||
$vNode = $node->getElementsByTagName('v')->item(0);
|
||||
return $vNode->nodeValue;
|
||||
if ($vNode !== null) {
|
||||
return $vNode->nodeValue;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user