Fix database error (wrong field name)
This commit is contained in:
parent
a7f8604d42
commit
2bf848ccfc
|
@ -599,7 +599,7 @@ function networkThreadedView(App $a, $update, $parent)
|
|||
if ($update) {
|
||||
if (!empty($parent)) {
|
||||
// Load only a single thread
|
||||
$conditionFields['id'] = $parent;
|
||||
$conditionFields['parent'] = $parent;
|
||||
} elseif ($order === 'post') {
|
||||
// Only load new toplevel posts
|
||||
$conditionFields['unseen'] = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user