quick bug fix

This commit is contained in:
Pachira 2015-09-14 23:52:17 +02:00
parent 415a8d642e
commit 59c21289a1
2 changed files with 7 additions and 2 deletions

View file

@ -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"
}
]

View file

@ -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],
)),
];
}