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",
|
"type": "UPD",
|
||||||
"change": "Make indentation style PSR2 standard compliant.",
|
"change": "Make indentation style PSR2 standard compliant.",
|
||||||
"user": "Flashwave"
|
"user": "Flashwave"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FIX",
|
||||||
|
"change": "Fixed error on profile page relating to forum stats.",
|
||||||
|
"user": "Flashwave"
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
|
@ -339,14 +339,14 @@ class Forum
|
||||||
'posts',
|
'posts',
|
||||||
['poster_id' => [$uid, '=']]
|
['poster_id' => [$uid, '=']]
|
||||||
)[0],
|
)[0],
|
||||||
'topics' => Database::count(
|
'topics' => count(Database::fetch(
|
||||||
'posts',
|
'posts',
|
||||||
true,
|
true,
|
||||||
['poster_id' => [$uid, '=']],
|
['poster_id' => [$uid, '=']],
|
||||||
['post_time'],
|
['post_time'],
|
||||||
null,
|
null,
|
||||||
['topic_id']
|
['topic_id']
|
||||||
)[0],
|
)),
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue