Fix database error (wrong field name)

This commit is contained in:
Michael 2020-08-17 19:59:16 +00:00
parent a7f8604d42
commit 2bf848ccfc

View File

@ -599,7 +599,7 @@ function networkThreadedView(App $a, $update, $parent)
if ($update) { if ($update) {
if (!empty($parent)) { if (!empty($parent)) {
// Load only a single thread // Load only a single thread
$conditionFields['id'] = $parent; $conditionFields['parent'] = $parent;
} elseif ($order === 'post') { } elseif ($order === 'post') {
// Only load new toplevel posts // Only load new toplevel posts
$conditionFields['unseen'] = true; $conditionFields['unseen'] = true;