Skip to content

Commit

Permalink
Merge pull request #4723 from Jimmi08/patch-2
Browse files Browse the repository at this point in the history
Fixes #4715 Forum - correct display of Last Post info
  • Loading branch information
CaMer0n authored Mar 30, 2022
2 parents 8f8ff16 + ec81083 commit 21fa07e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,11 @@ function sc__wrapper_() // TODO XXX ??

function subinfo()
{
if(empty($this->var['thread_total_replies']))
{
return '';
}

$backtrace = debug_backtrace();
$caller = $backtrace[1]['function'];
if($this->var['forum_lastpost_info'])
Expand Down Expand Up @@ -622,6 +627,11 @@ function sc_repliesx($parm='')

function threadlastpostdata()
{
if(empty($this->var['thread_total_replies']))
{
return '';
}

$backtrace = debug_backtrace();
$caller = $backtrace[1]['function'];
// if($this->var['thread_views'])
Expand Down

0 comments on commit 21fa07e

Please sign in to comment.