1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-05 14:13:18 -08:00
parent d37d4bf8af
commit 09fb747374
30 changed files with 125 additions and 89 deletions

View File

@@ -219,8 +219,8 @@ function parse_forum($f, $restricted_string = '')
if(!empty($forumList['subs']) && is_array($forumList['subs'][$f['forum_id']]))
{
$lastpost_datestamp = reset(explode('.', $f['forum_lastpost_info']));
$lastPost = explode('.', $f['forum_lastpost_info']);
$lastpost_datestamp = reset($lastPost);
$ret = parse_subs($forumList, $f['forum_id'], $lastpost_datestamp);
$f['forum_threads'] += $ret['threads'];