Merge pull request #9024 from annando/fix-db-error
Fix database error (wrong field name)
This commit is contained in:
commit
ba868ea7d7
|
@ -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 a new issue