Fix: Items with "uid=0" always had the "parent-uri" as "thr-parent"

This commit is contained in:
Michael 2018-03-22 16:18:49 +00:00
parent 0d60f1a7d3
commit b171fb1f24

View File

@ -356,6 +356,10 @@ class Item extends BaseObject
}
}
if (!empty($item['thr-parent'])) {
$item['parent-uri'] = $item['thr-parent'];
}
if (x($item, 'gravity')) {
$item['gravity'] = intval($item['gravity']);
} elseif ($item['parent-uri'] === $item['uri']) {