Skip to content

Commit

Permalink
Fixes #2069 Errors in PHP 5.4.4-2 Linux (Debian)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-MyBB committed Aug 16, 2012
1 parent 912eff8 commit 9c55770
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inc/functions_forumlist.php
Expand Up @@ -159,7 +159,10 @@ function build_forumbits($pid=0, $depth=1)
// If we are hiding information (lastpost) because we aren't authenticated against the password for this forum, remove them
if($hidelastpostinfo == true)
{
unset($lastpost_data);
$lastpost_data = array(
'lastpost' => 0,
'lastposter' => ''
);
}

// If the current forums lastpost is greater than other child forums of the current parent, overwrite it
Expand Down

0 comments on commit 9c55770

Please sign in to comment.