HHVM compatibility fix
This commit is contained in:
parent
a06533f766
commit
0bd3a9c60a
|
@ -773,9 +773,9 @@ class Ods extends BaseReader implements IReader
|
||||||
// It's a space
|
// It's a space
|
||||||
|
|
||||||
// Multiple spaces?
|
// Multiple spaces?
|
||||||
if (isset($child->attributes['text:c'])) {
|
|
||||||
/** @var \DOMAttr $cAttr */
|
/** @var \DOMAttr $cAttr */
|
||||||
$cAttr = $child->attributes['text:c'];
|
$cAttr = $child->attributes->getNamedItem('c');
|
||||||
|
if ($cAttr) {
|
||||||
$multiplier = (int) $cAttr->nodeValue;
|
$multiplier = (int) $cAttr->nodeValue;
|
||||||
} else {
|
} else {
|
||||||
$multiplier = 1;
|
$multiplier = 1;
|
||||||
|
|
Loading…
Reference in New Issue