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
|
||||
|
||||
// Multiple spaces?
|
||||
if (isset($child->attributes['text:c'])) {
|
||||
/** @var \DOMAttr $cAttr */
|
||||
$cAttr = $child->attributes['text:c'];
|
||||
/** @var \DOMAttr $cAttr */
|
||||
$cAttr = $child->attributes->getNamedItem('c');
|
||||
if ($cAttr) {
|
||||
$multiplier = (int) $cAttr->nodeValue;
|
||||
} else {
|
||||
$multiplier = 1;
|
||||
|
|
Loading…
Reference in New Issue