mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Code cleanup
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user