Skip to content

Commit

Permalink
Update view_shortcodes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rica-carv authored Sep 29, 2024
1 parent 8215213 commit 5c79432
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions e107_plugins/forum/shortcodes/batch/view_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ function sc_topic_datestamp($parm = null)
* @return string
* @example {TOPIC_LASTPOST_DATE: format=relative}
*/
function sc_topic_lastpost_date($parm = null)
function sc_topic_lastpost_date($parm = null)
{

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

*/

$mode = empty($parm['format']) ? 'forum' : $parm['format'];

Expand All @@ -206,8 +206,8 @@ function sc_topic_lastpost_date($parm = null)
function sc_topic_lastpost_author($parm = null)
{

if($this->var['thread_views'] && !empty($this->var['thread_total_replies']))
{
// if($this->var['thread_views'] && !empty($this->var['thread_total_replies']))
// {

if(!empty($this->var['thread_lastuser_username']))
{
Expand All @@ -224,9 +224,9 @@ function sc_topic_lastpost_author($parm = null)
return LAN_FORUM_1015;

}
}
// }

return ' - ';
// return ' - ';

}

Expand Down

0 comments on commit 5c79432

Please sign in to comment.