1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00

Merge pull request #4723 from Jimmi08/patch-2

Fixes #4715 Forum - correct display of Last Post info
This commit is contained in:
Cameron 2022-03-30 12:38:52 -07:00 committed by GitHub
commit 21fa07ec3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -501,6 +501,11 @@
function subinfo()
{
if(empty($this->var['thread_total_replies']))
{
return '';
}
$backtrace = debug_backtrace();
$caller = $backtrace[1]['function'];
if($this->var['forum_lastpost_info'])
@ -622,6 +627,11 @@
function threadlastpostdata()
{
if(empty($this->var['thread_total_replies']))
{
return '';
}
$backtrace = debug_backtrace();
$caller = $backtrace[1]['function'];
// if($this->var['thread_views'])