mirror of
https://github.com/php/phd.git
synced 2026-03-23 22:52:05 +01:00
Fix deprecated null array offset usage in Reader_Partial
This commit is contained in:
committed by
Gina Peter Banyard
parent
07973db68b
commit
f662181225
@@ -31,7 +31,7 @@ class Reader_Partial extends Reader
|
||||
static $arraySkip = array();
|
||||
|
||||
while($ret = parent::read()) {
|
||||
$id = $this->getAttributeNs("id", self::XMLNS_XML);
|
||||
$id = $this->getAttributeNs("id", self::XMLNS_XML) ?? '';
|
||||
$currentPartial = end($arrayPartial);
|
||||
$currentSkip = end($arraySkip);
|
||||
if (isset($this->partial[$id])) {
|
||||
|
||||
Reference in New Issue
Block a user