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 ($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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user