quick bug fix
This commit is contained in:
parent
415a8d642e
commit
59c21289a1
2 changed files with 7 additions and 2 deletions
|
@ -2736,6 +2736,11 @@
|
|||
"type": "UPD",
|
||||
"change": "Make indentation style PSR2 standard compliant.",
|
||||
"user": "Flashwave"
|
||||
},
|
||||
{
|
||||
"type": "FIX",
|
||||
"change": "Fixed error on profile page relating to forum stats.",
|
||||
"user": "Flashwave"
|
||||
}
|
||||
|
||||
]
|
||||
|
|
|
@ -339,14 +339,14 @@ class Forum
|
|||
'posts',
|
||||
['poster_id' => [$uid, '=']]
|
||||
)[0],
|
||||
'topics' => Database::count(
|
||||
'topics' => count(Database::fetch(
|
||||
'posts',
|
||||
true,
|
||||
['poster_id' => [$uid, '=']],
|
||||
['post_time'],
|
||||
null,
|
||||
['topic_id']
|
||||
)[0],
|
||||
)),
|
||||
];
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue