mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Update forum_shortcodes.php
This commit is contained in:
@@ -418,13 +418,13 @@ class forum_shortcodes extends e_shortcode
|
||||
|
||||
function sc_lastpostuser()
|
||||
{
|
||||
return $this->sc_lastpost('username');
|
||||
return $this->sc_lastpost(['type'=>'username']);
|
||||
}
|
||||
|
||||
|
||||
function sc_lastpostdate()
|
||||
{
|
||||
return $this->sc_lastpost('datelink');
|
||||
return $this->sc_lastpost(['type'=>'datelink']);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user