We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6922989 commit e3fb93aCopy full SHA for e3fb93a
phpdotnet/phd/Package/PHP/Web.php
@@ -232,6 +232,8 @@ protected function writeJsonIndex() {
232
$index["sdesc"] = $index["ldesc"];
233
234
$parentId = $index['parent_id'];
235
+ // isset() to guard against undefined array keys, either for root
236
+ // elements (no parent) or in case the index structure is broken.
237
while (isset($this->indexes[$parentId])) {
238
$parent = $this->indexes[$parentId];
239
if ($parent['element'] == 'book') {
0 commit comments