diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php index b218d1b7c..4038d2bf0 100644 --- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php @@ -558,6 +558,7 @@ $gen = new convert; global $forum; list($lastpost_datestamp, $lastpost_thread) = explode('.', $this->var['forum_lastpost_info']); +/*-- if ($this->var['user_name']) { @@ -567,6 +568,8 @@ $gen = new convert; { $lastpost_name = e107::getParser()->toHTML($this->var['forum_lastpost_user_anon']); } +--*/ + $lastpost_name = ($this->var['user_name'])?" $this->var['user_name'], 'id' => $this->var['forum_lastpost_user']))."'>{$this->var['user_name']}":e107::getParser()->toHTML($this->var['forum_lastpost_user_anon']); $lastpost = $forum->threadGetLastpost($lastpost_thread); //XXX TODO inefficient to have SQL query here. diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index cc625123c..920ef4a44 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -860,7 +860,8 @@ function sc_forumjump() global $forum; $jumpList = $forum->forumGetAllowed(); $text = "