mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
correct display of Last Post info
#FIX 4715
This commit is contained in:
@@ -501,6 +501,11 @@
|
|||||||
|
|
||||||
function subinfo()
|
function subinfo()
|
||||||
{
|
{
|
||||||
|
if(empty($this->var['thread_total_replies']))
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
$backtrace = debug_backtrace();
|
$backtrace = debug_backtrace();
|
||||||
$caller = $backtrace[1]['function'];
|
$caller = $backtrace[1]['function'];
|
||||||
if($this->var['forum_lastpost_info'])
|
if($this->var['forum_lastpost_info'])
|
||||||
@@ -622,6 +627,11 @@
|
|||||||
|
|
||||||
function threadlastpostdata()
|
function threadlastpostdata()
|
||||||
{
|
{
|
||||||
|
if(empty($this->var['thread_total_replies']))
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
$backtrace = debug_backtrace();
|
$backtrace = debug_backtrace();
|
||||||
$caller = $backtrace[1]['function'];
|
$caller = $backtrace[1]['function'];
|
||||||
// if($this->var['thread_views'])
|
// if($this->var['thread_views'])
|
||||||
|
Reference in New Issue
Block a user