1
0
Fork 0

Merge pull request #9024 from annando/fix-db-error

Fix database error (wrong field name)
This commit is contained in:
Hypolite Petovan 2020-08-17 16:17:11 -04:00 committed by GitHub
commit ba868ea7d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;