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 ($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